wok annotate deutex-devel/receipt @ rev 11845

vanessa_adt: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 27 08:26:19 2012 +0100 (2012-02-27)
parents
children eb8067417980
rev   line source
slaxemulator@9275 1 # SliTaz package receipt.
slaxemulator@9275 2
slaxemulator@9275 3 PACKAGE="deutex-devel"
slaxemulator@9275 4 VERSION="4.4.902"
slaxemulator@9275 5 CATEGORY="development"
slaxemulator@9275 6 SHORT_DESC="A WAD file composer for Doom, Heretic, Hexen and Strife."
slaxemulator@9275 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@9275 8 SOURCE="deutex"
slaxemulator@9275 9 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@9275 10 WEB_SITE="http://www.teaser.fr/~amajorel/deutex/"
slaxemulator@9275 11 WGET_URL="http://www.teaser.fr/~amajorel/deutex/fungus/$TARBALL"
slaxemulator@9275 12
slaxemulator@9275 13 # Rules to configure and make the package.
slaxemulator@9275 14 compile_rules()
slaxemulator@9275 15 {
slaxemulator@9275 16 cd $src
slaxemulator@9275 17 mkdir -p $DESTDIR/usr/bin
slaxemulator@9275 18 mkdir -p $DESTDIR/usr/share/man/man6
slaxemulator@9275 19 ./configure --cflags="${CFLAGS}" &&
slaxemulator@9275 20 make &&
slaxemulator@9275 21 make BINDIR=$DESTDIR/usr/bin MANDIR=$DESTDIR/usr/share/man install
slaxemulator@9275 22 }
slaxemulator@9275 23
slaxemulator@9275 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9275 25 genpkg_rules()
slaxemulator@9275 26 {
slaxemulator@9275 27 mkdir -p $fs/usr
slaxemulator@9275 28 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@9275 29 }
slaxemulator@9275 30