void-packages/srcpkgs/m17n-lib/template

36 lines
1.2 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Template file for 'm17n-lib'
pkgname=m17n-lib
version=1.8.4
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libxml2-devel fribidi-devel freetype-devel fontconfig-devel gd-devel
libXft-devel libotf-devel libthai-devel m17n-db $(vopt_if anthy anthy-devel)"
depends="m17n-db"
short_desc="Multilingual text processing library"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="LGPL-2.1-or-later"
homepage="http://www.nongnu.org/m17n/"
distfiles="${NONGNU_SITE}/m17n/${pkgname}-${version}.tar.gz"
checksum=c6a2582c6e4f2a8c2e7a2844fa5c7eb363aad2538b052f203c710649dd421cc8
disable_parallel_build=yes
build_options="anthy"
desc_option_anthy="Enable anthy Japanese input system"
# without the flags configure wont detect fribidi
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/glib-2.0 -I${XBPS_CROSS_BASE}/usr/lib/glib-2.0/include"
CPPFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/glib-2.0 -I${XBPS_CROSS_BASE}/usr/lib/glib-2.0/include"
m17n-lib-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove "usr/lib/m17n/1.0/*.a"
}
}