chroot-texinfo: make this cross buildable.
This commit is contained in:
parent
a5cc060c94
commit
4e1f9624ff
1 changed files with 14 additions and 15 deletions
|
@ -1,31 +1,30 @@
|
|||
# Template file for 'chroot-texinfo'
|
||||
pkgname=chroot-texinfo
|
||||
version=4.13a
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="texinfo-4.13"
|
||||
build_style=gnu-configure
|
||||
bootstrap=yes
|
||||
conflicts="texinfo>=0"
|
||||
provides="texinfo-${version}"
|
||||
short_desc="The GNU Documentation System -- for xbps-src use"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-3"
|
||||
homepage="http://www.gnu.org/software/texinfo/"
|
||||
distfiles="http://ftp.gnu.org/gnu/texinfo/texinfo-$version.tar.gz"
|
||||
checksum=1303e91a1c752b69a32666a407e9fbdd6e936def4b09bc7de30f416301530d68
|
||||
long_desc="
|
||||
Texinfo is the official documentation format of the GNU project. It was
|
||||
invented by Richard Stallman and Bob Chassell many years ago, loosely based
|
||||
on Brian Reid's Scribe and other formatting languages of the time. It is
|
||||
used by many non-GNU projects as well.
|
||||
|
||||
This package is only meant to be used by xbps-src, don't install it manually."
|
||||
bootstrap=yes
|
||||
conflicts="texinfo>=0"
|
||||
provides="texinfo-${version}"
|
||||
|
||||
if [ -n "$IN_CHROOT" ]; then
|
||||
makedepends="ncurses-devel"
|
||||
fi
|
||||
do_configure() {
|
||||
./configure ${CONFIGURE_SHARED_ARGS} --disable-nls
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make ${makejobs} -C tools/gnulib/lib && make ${makejobs} -C tools && make ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make DESTDIR=${DESTDIR} install
|
||||
|
||||
post_install() {
|
||||
rm -f ${DESTDIR}/usr/bin/info
|
||||
rm -f ${DESTDIR}/usr/bin/infokey
|
||||
rm -rf ${DESTDIR}/usr/share
|
||||
|
|
Loading…
Reference in a new issue