2012-02-28 10:35:55 +01:00
|
|
|
# Template file for 'chroot-texinfo'
|
|
|
|
pkgname=chroot-texinfo
|
|
|
|
version=4.13a
|
2015-05-22 11:47:56 +02:00
|
|
|
revision=7
|
2012-02-28 10:35:55 +01:00
|
|
|
wrksrc="texinfo-4.13"
|
2014-01-08 09:24:59 +01:00
|
|
|
bootstrap=yes
|
|
|
|
hostmakedepends="ncurses-devel"
|
|
|
|
makedepends="ncurses-devel"
|
|
|
|
conflicts="texinfo>=0"
|
|
|
|
provides="texinfo-${version}_${revision}"
|
2012-02-28 10:35:55 +01:00
|
|
|
short_desc="The GNU Documentation System -- for xbps-src use"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-02-28 10:35:55 +01:00
|
|
|
license="GPL-3"
|
2012-06-04 10:39:38 +02:00
|
|
|
homepage="http://www.gnu.org/software/texinfo/"
|
2015-05-22 11:47:56 +02:00
|
|
|
distfiles="${GNU_SITE}/texinfo/texinfo-$version.tar.lzma"
|
|
|
|
checksum=6d28b0ceae866e3536142fc552e7a3bc9f84c8303119c25731b2478eef64c9e5
|
2012-02-28 10:35:55 +01:00
|
|
|
|
2013-02-06 13:04:22 +01:00
|
|
|
do_configure() {
|
2014-01-08 09:24:59 +01:00
|
|
|
cp -f ${XBPS_CROSSPFDIR}/config.sub build-aux
|
|
|
|
|
2014-04-28 11:53:07 +02:00
|
|
|
if [ -z "$CHROOT_READY" ]; then
|
|
|
|
export LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib"
|
|
|
|
fi
|
2013-05-26 10:41:55 +02:00
|
|
|
./configure ${configure_args} --disable-nls
|
2013-02-06 13:04:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
2013-02-06 14:01:10 +01:00
|
|
|
if [ -d tools ]; then
|
2013-05-26 10:41:55 +02:00
|
|
|
make ${makejobs} -C tools/gnulib/lib
|
|
|
|
make ${makejobs} -C tools
|
2013-02-06 14:01:10 +01:00
|
|
|
fi
|
2013-05-26 10:41:55 +02:00
|
|
|
make ${makejobs}
|
2013-02-06 13:04:22 +01:00
|
|
|
}
|
2012-02-28 10:35:55 +01:00
|
|
|
|
2013-02-06 13:04:22 +01:00
|
|
|
do_install() {
|
|
|
|
make DESTDIR=${DESTDIR} install
|
2012-02-28 10:35:55 +01:00
|
|
|
|
|
|
|
rm -f ${DESTDIR}/usr/bin/info
|
|
|
|
rm -f ${DESTDIR}/usr/bin/infokey
|
|
|
|
rm -rf ${DESTDIR}/usr/share
|
|
|
|
}
|