wok diff groff/receipt @ rev 7162

Up: glew to 1.5.7.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 07 02:25:09 2010 +0000 (2010-11-07)
parents
children 712198090123
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/groff/receipt	Sun Nov 07 02:25:09 2010 +0000
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="groff"
     1.7 +VERSION="1.20.1"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="The GNU troff text-formatting system."
    1.10 +MAINTAINER="rocky@slitaz.org"
    1.11 +BUILD_DEPENDS="ghostscript"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.gnu.org/software/groff/groff.html"
    1.14 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +    cd $src
    1.20 +    touch doc/gnu.eps
    1.21 +    ./configure --prefix=/usr \
    1.22 +        --mandir=/usr/man \
    1.23 +        --without-x \
    1.24 +        $CONFIGURE_ARGS &&
    1.25 +    make &&
    1.26 +    make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +    mkdir -p $fs/usr
    1.33 +    cp -a $_pkg/usr/bin $fs/usr
    1.34 +    cp -a $_pkg/usr/lib $fs/usr
    1.35 +    cp -a $_pkg/usr/share $fs/usr
    1.36 +    rm -rf $fs/usr/share/info
    1.37 +    rm -rf $fs/usr/share/doc
    1.38 +}