void-packages/srcpkgs/gettext/template
2014-11-27 16:25:07 +01:00

42 lines
1.2 KiB
Text

# Template build file for 'gettext'.
pkgname=gettext
version=0.19.3
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 --with-included-libxml --with-included-libcroco"
makedepends="ncurses-devel acl-devel"
conflicts="chroot-gettext>=0"
short_desc="Internationalized Message Handling Library and tools"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/gettext/"
license="GPL-3"
distfiles="http://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=93952d505a3d3b1ec10c69d340c7d438b1f9c332710d583981c0608be3eeb3f6
if [ "$CROSS_BUILD" ]; then
hostmakedepends="automake libtool git"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
libtoolize -f
}
fi
gettext-devel_package() {
depends="gettext-libs>=${version}_${revision}"
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+=" - shared libraries"
pkg_install() {
vmove "usr/lib/*.so*"
}
}