void-packages/srcpkgs/chroot-texinfo/template
Christian Neukirchen be7e87e765 chroot-texinfo: fix PIE in bootstrap.
Removed code obsolete since 11a6f8a6.
2016-06-11 01:23:59 +02:00

38 lines
935 B
Bash

# Template file for 'chroot-texinfo'
pkgname=chroot-texinfo
version=4.13a
revision=8
wrksrc="texinfo-4.13"
bootstrap=yes
hostmakedepends="ncurses-devel"
makedepends="ncurses-devel"
conflicts="texinfo>=0"
provides="texinfo-${version}_${revision}"
short_desc="The GNU Documentation System -- for xbps-src use"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://www.gnu.org/software/texinfo/"
distfiles="${GNU_SITE}/texinfo/texinfo-$version.tar.lzma"
checksum=6d28b0ceae866e3536142fc552e7a3bc9f84c8303119c25731b2478eef64c9e5
do_configure() {
cp -f ${XBPS_CROSSPFDIR}/config.sub build-aux
./configure ${configure_args} --disable-nls
}
do_build() {
if [ -d tools ]; then
make ${makejobs} -C tools/gnulib/lib
make ${makejobs} -C tools
fi
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} install
rm -f ${DESTDIR}/usr/bin/info
rm -f ${DESTDIR}/usr/bin/infokey
rm -rf ${DESTDIR}/usr/share
}