wok-6.x annotate groff/receipt @ rev 9772
subversion: Fix BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 11 21:16:24 2011 +0200 (2011-05-11) |
parents | |
children | 712198090123 |
rev | line source |
---|---|
rocky@5279 | 1 # SliTaz package receipt. |
rocky@5279 | 2 |
rocky@5279 | 3 PACKAGE="groff" |
rocky@5279 | 4 VERSION="1.20.1" |
rocky@5279 | 5 CATEGORY="utilities" |
rocky@5279 | 6 SHORT_DESC="The GNU troff text-formatting system." |
rocky@5279 | 7 MAINTAINER="rocky@slitaz.org" |
rocky@5279 | 8 BUILD_DEPENDS="ghostscript" |
rocky@5279 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rocky@5279 | 10 WEB_SITE="http://www.gnu.org/software/groff/groff.html" |
rocky@5279 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
rocky@5279 | 12 |
rocky@5279 | 13 # Rules to configure and make the package. |
rocky@5279 | 14 compile_rules() |
rocky@5279 | 15 { |
rocky@5279 | 16 cd $src |
rocky@5279 | 17 touch doc/gnu.eps |
rocky@5279 | 18 ./configure --prefix=/usr \ |
rocky@5279 | 19 --mandir=/usr/man \ |
rocky@5279 | 20 --without-x \ |
rocky@5279 | 21 $CONFIGURE_ARGS && |
rocky@5279 | 22 make && |
rocky@5279 | 23 make DESTDIR=$PWD/_pkg install |
rocky@5279 | 24 } |
rocky@5279 | 25 |
rocky@5279 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@5279 | 27 genpkg_rules() |
rocky@5279 | 28 { |
rocky@5279 | 29 mkdir -p $fs/usr |
rocky@5279 | 30 cp -a $_pkg/usr/bin $fs/usr |
rocky@5279 | 31 cp -a $_pkg/usr/lib $fs/usr |
rocky@5279 | 32 cp -a $_pkg/usr/share $fs/usr |
rocky@5279 | 33 rm -rf $fs/usr/share/info |
rocky@5279 | 34 rm -rf $fs/usr/share/doc |
rocky@5279 | 35 } |