wok annotate chocolate-doom/receipt @ rev 19315
Check manpages... to ddd.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 12 15:00:21 2016 +0300 (2016-07-12) |
parents | 17e313b5b9c1 |
children | 18d5c324cc42 |
rev | line source |
---|---|
pascal@3619 | 1 # SliTaz package receipt. |
pascal@3619 | 2 |
pascal@3619 | 3 PACKAGE="chocolate-doom" |
slaxemulator@6220 | 4 VERSION="1.4.0" |
pascal@3619 | 5 CATEGORY="games" |
pascal@3619 | 6 SHORT_DESC="Doom source port as close as possible to vanilla Doom." |
pascal@3619 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
al@19315 | 9 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@3619 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3619 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15579 | 12 |
pascal@4999 | 13 DEPENDS="libsdl libsdl-mixer libsdl-net libsamplerate" |
pascal@3619 | 14 BUILD_DEPENDS="libsdl-mixer-dev libsdl-net-dev libsdl-dev" |
pascal@3619 | 15 |
pascal@3619 | 16 # Rules to configure and make the package. |
pascal@3619 | 17 compile_rules() |
pascal@3619 | 18 { |
pascal@17670 | 19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" |
pascal@3619 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@3619 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
gokhlayeh@11574 | 22 make $MAKEFLAGS |
al@19315 | 23 |
al@19315 | 24 cook_pick_manpages man/*.5 man/*.6 |
pascal@3619 | 25 } |
pascal@3619 | 26 |
pascal@3619 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3619 | 28 genpkg_rules() |
pascal@3619 | 29 { |
pascal@3619 | 30 mkdir -p $fs/usr/bin $fs/usr/share/games/doom |
pascal@3619 | 31 cp $src/src/chocolate-doom $fs/usr/bin |
pascal@3619 | 32 } |