contrib/texinfo/Pkgfile
2006-11-13 21:12:21 +01:00

36 lines
772 B
Plaintext

# Description: Texinfo is the official documentation format of the GNU project
# URL: http://www.gnu.org/software/texinfo/
# Maintainer: Han Boetes <han@mijncomputer.nl>
# Packager: Han Boetes <han@mijncomputer.nl>
# Depends on:
#
# Don't laugh! I need it for bootstrapping emacs from cvs.
#
name=texinfo
version=4.8a
release=1
source="
ftp://ftp.gnu.org/gnu/texinfo/texinfo-$version.tar.gz
texinfo.patch
"
build()
{
cd $name-*
patch -p1 -i $SRC/texinfo.patch
./configure \
--prefix=/usr \
--disable-nls
make
make install DESTDIR=$PKG
if [ -d /usr/info ]; then
util/gen-dir-node /usr/info > $PKG/usr/info/dir
else
util/gen-dir-node $PKG/usr/info > $PKG/usr/info/dir
fi
rm -rf $PKG/usr/share/
}