texinfo: cross build support.
This commit is contained in:
parent
927ae929ef
commit
33eb83febe
1 changed files with 19 additions and 4 deletions
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'texinfo'
|
# Template file for 'texinfo'
|
||||||
pkgname=texinfo
|
pkgname=texinfo
|
||||||
version=4.13a
|
version=4.13a
|
||||||
revision=9
|
revision=10
|
||||||
wrksrc="$pkgname-4.13"
|
wrksrc="$pkgname-4.13"
|
||||||
conflicts="chroot-texinfo>=0"
|
conflicts="chroot-texinfo>=0"
|
||||||
build_style=gnu-configure
|
|
||||||
makedepends="ncurses-devel"
|
makedepends="ncurses-devel"
|
||||||
fulldepends="gzip"
|
crossmakedepends="ncurses-devel"
|
||||||
|
depends="gzip"
|
||||||
short_desc="The GNU Documentation System"
|
short_desc="The GNU Documentation System"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
|
@ -14,7 +14,22 @@ homepage="http://www.gnu.org/software/texinfo/"
|
||||||
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
||||||
checksum=1303e91a1c752b69a32666a407e9fbdd6e936def4b09bc7de30f416301530d68
|
checksum=1303e91a1c752b69a32666a407e9fbdd6e936def4b09bc7de30f416301530d68
|
||||||
|
|
||||||
post_install() {
|
do_configure() {
|
||||||
|
./configure ${CONFIGURE_SHARED_ARGS}
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
if [ -d tools ]; then
|
||||||
|
make ${makejobs} -C tools/gnulib/lib && \
|
||||||
|
make ${makejobs} -C tools && make ${makejobs}
|
||||||
|
else
|
||||||
|
make ${makejobs}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
make DESTDIR=${DESTDIR} install
|
||||||
|
|
||||||
rm -f ${DESTDIR}/usr/share/info/dir
|
rm -f ${DESTDIR}/usr/share/info/dir
|
||||||
# Compress manually info files.
|
# Compress manually info files.
|
||||||
gzip -9 ${DESTDIR}/usr/share/info/*
|
gzip -9 ${DESTDIR}/usr/share/info/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue