2012-02-28 09:35:55 +00:00
|
|
|
# Template file for 'chroot-texinfo'
|
|
|
|
pkgname=chroot-texinfo
|
|
|
|
version=4.13a
|
2013-02-06 12:04:22 +00:00
|
|
|
revision=2
|
2012-02-28 09:35:55 +00:00
|
|
|
wrksrc="texinfo-4.13"
|
|
|
|
short_desc="The GNU Documentation System -- for xbps-src use"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
2012-06-04 08:39:38 +00:00
|
|
|
homepage="http://www.gnu.org/software/texinfo/"
|
|
|
|
distfiles="http://ftp.gnu.org/gnu/texinfo/texinfo-$version.tar.gz"
|
2012-02-28 09:35:55 +00:00
|
|
|
checksum=1303e91a1c752b69a32666a407e9fbdd6e936def4b09bc7de30f416301530d68
|
|
|
|
|
2013-02-06 12:04:22 +00:00
|
|
|
bootstrap=yes
|
|
|
|
|
2013-03-24 09:21:58 +00:00
|
|
|
if [ "$IN_CHROOT" ]; then
|
2013-02-06 13:01:10 +00:00
|
|
|
makedepends="ncurses-devel"
|
|
|
|
fi
|
2013-05-26 08:41:55 +00:00
|
|
|
if [ "CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends="ncurses-devel"
|
|
|
|
fi
|
2013-02-06 13:01:10 +00:00
|
|
|
|
2013-02-06 12:04:22 +00:00
|
|
|
do_configure() {
|
2013-05-26 08:41:55 +00:00
|
|
|
./configure ${configure_args} --disable-nls
|
2013-02-06 12:04:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
2013-02-06 13:01:10 +00:00
|
|
|
if [ -d tools ]; then
|
2013-05-26 08:41:55 +00:00
|
|
|
make ${makejobs} -C tools/gnulib/lib
|
|
|
|
make ${makejobs} -C tools
|
2013-02-06 13:01:10 +00:00
|
|
|
fi
|
2013-05-26 08:41:55 +00:00
|
|
|
make ${makejobs}
|
2013-02-06 12:04:22 +00:00
|
|
|
}
|
2012-02-28 09:35:55 +00:00
|
|
|
|
2013-02-06 12:04:22 +00:00
|
|
|
do_install() {
|
|
|
|
make DESTDIR=${DESTDIR} install
|
2012-02-28 09:35:55 +00:00
|
|
|
|
|
|
|
rm -f ${DESTDIR}/usr/bin/info
|
|
|
|
rm -f ${DESTDIR}/usr/bin/infokey
|
|
|
|
rm -rf ${DESTDIR}/usr/share
|
|
|
|
}
|
2013-04-12 06:55:23 +00:00
|
|
|
|
|
|
|
chroot-texinfo_package() {
|
|
|
|
conflicts="texinfo>=0"
|
|
|
|
provides="texinfo-${version}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|