2008-10-24 05:47:41 +02:00
|
|
|
# Template build file for 'gettext'.
|
|
|
|
pkgname=gettext
|
2011-01-30 17:28:02 +01:00
|
|
|
version=0.18.1.1
|
2012-05-23 08:14:33 +02:00
|
|
|
revision=4
|
2009-03-18 10:02:43 +01:00
|
|
|
distfiles="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$version.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2009-03-18 10:02:43 +01:00
|
|
|
configure_args="--disable-java --disable-native-java --disable-csharp
|
2010-05-12 03:42:32 +02:00
|
|
|
--disable-libasprintf --enable-threads=posix --disable-rpath
|
|
|
|
--disable-acl --with-included-glib --with-included-libcroco
|
2011-01-30 17:28:02 +01:00
|
|
|
--with-included-libxml --without-included-regex --without-emacs"
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="ncurses-devel libgomp-devel"
|
2008-10-24 05:47:41 +02:00
|
|
|
short_desc="Internationalized Message Handling Library and tools"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-01-30 17:28:02 +01:00
|
|
|
checksum=93ac71a7afa5b70c1b1032516663658c51e653087f42a3fc8044752c026443e9
|
2008-10-24 05:47:41 +02:00
|
|
|
long_desc="
|
|
|
|
GNU gettext provides the necessary tools and libraries for handling
|
|
|
|
messages in different languages, as one of the steps to
|
|
|
|
internationalisation (or i18n) of a utility."
|
|
|
|
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="$pkgname-devel $pkgname-libs"
|
2010-04-22 11:43:34 +02:00
|
|
|
|
2011-11-15 15:55:06 +01:00
|
|
|
post_configure() {
|
2010-04-22 11:43:34 +02:00
|
|
|
# Disable ACL.
|
|
|
|
sed -i 's@#define.*_ACL.*@/*&*/@g' ${wrksrc}/gettext-tools/config.h
|
|
|
|
for f in $(find ${wrksrc} -name Makefile); do
|
|
|
|
sed -i 's@-lacl@@g' ${f}
|
|
|
|
done
|
|
|
|
}
|