# Template build file for 'gettext'. pkgname=gettext version=0.18.2.1 revision=1 build_style=gnu-configure configure_args="--disable-java --disable-native-java --disable-csharp --disable-libasprintf --enable-threads=posix --disable-rpath --without-emacs --disable-openmp" makedepends="ncurses-devel libxml2-devel libcroco-devel acl-devel" short_desc="Internationalized Message Handling Library and tools" maintainer="Juan RP " homepage="http://www.gnu.org/software/gettext/" license="GPL-3" distfiles="http://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${version}.tar.gz" checksum=32fc1b85fc249ab81bfc37b942a992c7a34f2e1101357ce0d4591341b9164a0a gettext-devel_package() { depends="gettext-libs>=${version}" short_desc="${short_desc} - development files" pkg_install() { vmove usr/include vmove "usr/lib/*.a" vmove usr/share/doc/gettext vmove usr/share/aclocal vmove usr/share/gettext } } gettext-libs_package() { short_desc="${short_desc} - shared libraries" pkg_install() { vmove "usr/lib/*.so*" } } gettext_package() { conflicts="chroot-gettext>=0" pkg_install() { vmove usr } }