void-packages/srcpkgs/gettext/template

48 lines
1.3 KiB
Text
Raw Normal View History

2014-12-27 10:11:05 +00:00
# Template file for 'gettext'
pkgname=gettext
2014-12-27 10:11:05 +00:00
version=0.19.4
2014-11-27 15:24:51 +00:00
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>"
2012-12-27 11:37:02 +00:00
homepage="http://www.gnu.org/software/gettext/"
license="GPL-3"
distfiles="http://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${version}.tar.gz"
2014-12-27 10:11:05 +00:00
checksum=8ac9f1ed1a5f8c4e656a2f37f5ba6b9ee04c4df79a575e876b0b6946aa417f3f
if [ "$CROSS_BUILD" ]; then
2014-09-25 07:29:56 +00:00
hostmakedepends="automake libtool git"
pre_configure() {
2014-12-27 10:11:05 +00:00
autoreconf -fi
}
fi
post_install() {
if [ -e ${DESTDIR}/usr/include/libintl.h ]; then
rm -f ${DESTDIR}/usr/include/libintl.h
fi
}
gettext-devel_package() {
2014-09-25 07:29:56 +00:00
depends="gettext-libs>=${version}_${revision}"
2013-07-08 13:19:55 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
2014-12-27 10:11:05 +00:00
vmove usr/lib/*.a
vmove usr/share/doc/gettext
vmove usr/share/aclocal
vmove usr/share/gettext
}
}
gettext-libs_package() {
2013-07-08 13:19:55 +00:00
short_desc+=" - shared libraries"
pkg_install() {
2014-12-27 10:11:05 +00:00
vmove usr/lib/*.so*
}
}