gettext: do not remove libintl.h nor libintl libs.

This will be used by musl for internacionalization.
This commit is contained in:
Juan RP 2015-05-18 10:07:17 +02:00
parent 24e920f835
commit b5c8425bf5

View file

@ -1,7 +1,7 @@
# Template file for 'gettext' # Template file for 'gettext'
pkgname=gettext pkgname=gettext
version=0.19.4 version=0.19.4
revision=3 revision=4
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-java --disable-native-java --disable-csharp configure_args="--disable-java --disable-native-java --disable-csharp
--disable-libasprintf --enable-threads=posix --disable-rpath --without-emacs --disable-libasprintf --enable-threads=posix --disable-rpath --without-emacs
@ -22,15 +22,6 @@ if [ "$CROSS_BUILD" ]; then
} }
fi fi
post_install() {
if [ -e ${DESTDIR}/usr/include/libintl.h ]; then
rm -f ${DESTDIR}/usr/include/libintl.h
fi
if [ -e ${DESTDIR}/usr/lib/libintl.a ]; then
rm -f ${DESTDIR}/usr/lib/libintl.*
fi
}
gettext-devel_package() { gettext-devel_package() {
depends="gettext-libs>=${version}_${revision}" depends="gettext-libs>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"