void-packages/srcpkgs/m17n-lib/template

35 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.7.0
revision=2
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"
homepage="http://www.nongnu.org/m17n/"
distfiles="${NONGNU_SITE}/${pkgname/-lib/}/${pkgname}-${version}.tar.gz"
checksum=8eb853e1e0c86a70a09871f3264f950e5d62bba98960b3ffcde11511c138db83
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"
}
}