wok-next annotate chocolate-doom/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | 42e0165c64b9 |
children | d5aab818505e |
rev | line source |
---|---|
al@20498 | 1 # SliTaz package receipt v2. |
pascal@3619 | 2 |
pascal@3619 | 3 PACKAGE="chocolate-doom" |
slaxemulator@6220 | 4 VERSION="1.4.0" |
pascal@3619 | 5 CATEGORY="games" |
al@20498 | 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/" |
al@20498 | 10 |
pascal@3619 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3619 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15579 | 13 |
pascal@4999 | 14 DEPENDS="libsdl libsdl-mixer libsdl-net libsamplerate" |
al@20498 | 15 BUILD_DEPENDS="libsdl-mixer-dev libsdl-net-dev libsdl-dev libsamplerate-dev" |
pascal@3619 | 16 |
al@20498 | 17 compile_rules() { |
pascal@17670 | 18 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" |
al@20498 | 19 ./configure \ |
al@20498 | 20 --prefix=/usr \ |
al@20498 | 21 --infodir=/usr/share/info \ |
al@20498 | 22 --mandir=/usr/share/man \ |
al@20498 | 23 $CONFIGURE_ARGS && |
al@20498 | 24 make $MAKEFLAGS || return 1 |
al@20498 | 25 |
al@20498 | 26 mkdir -p $install/usr/bin $install/usr/share/games/doom |
al@20498 | 27 cp $src/src/chocolate-doom $install/usr/bin |
al@19315 | 28 |
al@19315 | 29 cook_pick_manpages man/*.5 man/*.6 |
pascal@3619 | 30 } |
pascal@3619 | 31 |
al@20498 | 32 genpkg_rules() { |
al@20498 | 33 copy @std |
pascal@3619 | 34 } |