wok annotate groff/receipt @ rev 11455

groff: pack /usr/share files to the correct path
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 17 11:42:21 2011 +0100 (2011-12-17)
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 }