2012-02-28 08:51:41 +00:00
|
|
|
# Template file for 'chroot-diffutils'
|
|
|
|
pkgname=chroot-diffutils
|
|
|
|
version=3.2
|
2014-01-14 09:40:44 +00:00
|
|
|
revision=3
|
2012-02-28 08:51:41 +00:00
|
|
|
wrksrc="diffutils-${version}"
|
2014-01-14 09:40:44 +00:00
|
|
|
bootstrap=yes
|
|
|
|
conflicts="diffutils>=0"
|
|
|
|
provides="diffutils-${version}_${revision}"
|
2012-02-28 08:51:41 +00:00
|
|
|
build_style=gnu-configure
|
2013-02-02 16:07:28 +00:00
|
|
|
configure_args="--disable-nls ac_cv_libsigsegv=/bin/false"
|
2012-02-28 08:51:41 +00:00
|
|
|
short_desc="The GNU diff utilities -- for xbps-src use"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.gnu.org/software/diffutils"
|
|
|
|
license="GPL-3"
|
2013-02-02 15:48:10 +00:00
|
|
|
distfiles="${GNU_SITE}/diffutils/diffutils-$version.tar.xz"
|
2012-02-28 08:51:41 +00:00
|
|
|
checksum=ab4fb75d0ef35f3c8c9a148cd3526ba6f4db71d10467a041eb45006436079149
|
|
|
|
|
2013-02-02 15:48:10 +00:00
|
|
|
pre_configure() {
|
|
|
|
sed -i -e '/gets is a/d' lib/stdio.in.h
|
|
|
|
}
|
|
|
|
|
2012-02-28 08:51:41 +00:00
|
|
|
post_install() {
|
|
|
|
rm -rf ${DESTDIR}/usr/share
|
2014-01-14 09:40:44 +00:00
|
|
|
if [ -f ${DESTDIR}/usr/lib/charset.alias ]; then
|
|
|
|
rm -f ${DESTDIR}/usr/lib/charset.alias
|
|
|
|
fi
|
2012-02-28 08:51:41 +00:00
|
|
|
}
|