wok-next annotate groff/receipt @ rev 12083
icedtea6-jdk: fix compiles_rules to work with tazwok. I know it's a bit messy but I need this.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 09 18:19:26 2012 +0100 (2012-03-09) |
parents | 712198090123 |
children | d1c17bd2c2bc |
rev | line source |
---|---|
rocky@5279 | 1 # SliTaz package receipt. |
rocky@5279 | 2 |
rocky@5279 | 3 PACKAGE="groff" |
slaxemulator@10112 | 4 VERSION="1.21" |
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 |
slaxemulator@10112 | 18 ./configure \ |
rocky@5279 | 19 --without-x \ |
rocky@5279 | 20 $CONFIGURE_ARGS && |
rocky@5279 | 21 make && |
slaxemulator@10112 | 22 make install |
rocky@5279 | 23 } |
rocky@5279 | 24 |
rocky@5279 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@5279 | 26 genpkg_rules() |
rocky@5279 | 27 { |
slaxemulator@10112 | 28 mkdir -p $fs/usr/share |
rocky@5279 | 29 cp -a $_pkg/usr/bin $fs/usr |
rocky@5279 | 30 cp -a $_pkg/usr/lib $fs/usr |
gokhlayeh@11455 | 31 cp -a $_pkg/usr/share/groff $fs/usr/share |
rocky@5279 | 32 } |