# Template build file for 'chroot-gettext'.
pkgname=chroot-gettext
version=0.18.1.1
revision=1
wrksrc="gettext-${version}"
build_wrksrc=gettext-tools
build_style=gnu-configure
configure_args="--disable-java --disable-native-java --disable-csharp
--disable-libasprintf --enable-threads=posix --disable-rpath
--disable-acl --with-included-glib --with-included-libcroco --without-git
--with-included-libxml --without-included-regex --without-emacs
--disable-shared --disable-nls --disable-openmp --disable-curses
--without-included-regex"
distfiles="http://ftp.gnu.org/pub/gnu/gettext/gettext-$version.tar.gz"
short_desc="Internationalized Message Handling tools -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=93ac71a7afa5b70c1b1032516663658c51e653087f42a3fc8044752c026443e9
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.
 
 This package is only meant to be used by xbps-src, don't install it manually."

bootstrap=yes
conflicts="gettext>=0"
provides="gettext-${version}"

post_install() {
	rm -rf ${DESTDIR}/usr/share ${DESTDIR}/usr/lib ${DESTDIR}/usr/include
}
