2014-12-27 10:11:05 +00:00
|
|
|
# Template file for 'gettext'
|
2008-10-24 03:47:41 +00:00
|
|
|
pkgname=gettext
|
2014-12-27 10:11:05 +00:00
|
|
|
version=0.19.4
|
2014-11-27 15:24:51 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2009-03-18 09:02:43 +00:00
|
|
|
configure_args="--disable-java --disable-native-java --disable-csharp
|
2012-12-27 11:42:00 +00:00
|
|
|
--disable-libasprintf --enable-threads=posix --disable-rpath --without-emacs
|
2014-11-12 07:21:59 +00:00
|
|
|
--disable-openmp --with-included-libxml --with-included-libcroco"
|
|
|
|
makedepends="ncurses-devel acl-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conflicts="chroot-gettext>=0"
|
2008-10-24 03:47:41 +00:00
|
|
|
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
|
2013-04-12 11:13:49 +00:00
|
|
|
|
2013-07-08 13:32:20 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2014-09-25 07:29:56 +00:00
|
|
|
hostmakedepends="automake libtool git"
|
2013-07-08 13:32:20 +00:00
|
|
|
pre_configure() {
|
2014-12-27 10:11:05 +00:00
|
|
|
autoreconf -fi
|
2013-07-08 13:32:20 +00:00
|
|
|
}
|
|
|
|
fi
|
|
|
|
|
2014-12-28 04:10:55 +00:00
|
|
|
post_install() {
|
|
|
|
if [ -e ${DESTDIR}/usr/include/libintl.h ]; then
|
|
|
|
rm -f ${DESTDIR}/usr/include/libintl.h
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2013-04-12 11:13:49 +00:00
|
|
|
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"
|
2013-04-12 11:13:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2014-12-27 10:11:05 +00:00
|
|
|
vmove usr/lib/*.a
|
2013-04-12 11:13:49 +00:00
|
|
|
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"
|
2013-04-12 11:13:49 +00:00
|
|
|
pkg_install() {
|
2014-12-27 10:11:05 +00:00
|
|
|
vmove usr/lib/*.so*
|
2013-04-12 11:13:49 +00:00
|
|
|
}
|
|
|
|
}
|