wok-next annotate eduke32/receipt @ rev 20503
Packing...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 16 06:03:21 2018 +0200 (2018-03-16) |
parents | c0521c689857 |
children | 5ed258d11ce7 |
rev | line source |
---|---|
al@20503 | 1 # SliTaz package receipt v2. |
mallory@2717 | 2 |
mallory@2717 | 3 PACKAGE="eduke32" |
slaxemulator@9369 | 4 VERSION="20110319-1850" |
mallory@2717 | 5 CATEGORY="games" |
samuel_trassare@11993 | 6 SHORT_DESC="A port of the classic first-person shooter, Duke Nukem 3D" |
mallory@2717 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@15202 | 8 LICENSE="GPL2" |
al@20503 | 9 |
slaxemulator@9369 | 10 TARBALL="${PACKAGE}_src_${VERSION}.tar.bz2" |
mallory@2717 | 11 WEB_SITE="http://www.eduke32.com/" |
slaxemulator@9369 | 12 WGET_URL="http://dukeworld.duke4.net/$PACKAGE/synthesis/$VERSION/$TARBALL" |
jozee@4935 | 13 TAGS="shooting" |
mallory@2717 | 14 |
pascal@20399 | 15 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libvorbis-dev gtk+-dev nasm \ |
al@20502 | 16 mesa-dev glu-dev gcc49" |
pascal@13796 | 17 |
mallory@2717 | 18 # Rules to configure and make the package. |
mallory@2717 | 19 compile_rules() |
mallory@2717 | 20 { |
al@20503 | 21 case $ARCH in |
al@20503 | 22 x86_64) Arch='nocona';; |
al@20503 | 23 *) Arch="$ARCH";; |
al@20503 | 24 esac |
al@20503 | 25 |
al@20503 | 26 make \ |
al@20503 | 27 CC=gcc-49 \ |
al@20503 | 28 CXX=g++-49 \ |
al@20503 | 29 CFLAGS="-march=$Arch -Os -pipe" \ |
al@20503 | 30 $MAKEFLAGS || return 1 |
al@20503 | 31 |
al@20503 | 32 install -Dm755 eduke32 $install/usr/bin/eduke32 |
al@20503 | 33 install -Dm755 mapster32 $install/usr/bin/mapster32 |
mallory@2717 | 34 } |
mallory@2717 | 35 |
al@20503 | 36 genpkg_rules() { |
al@20503 | 37 copy @std |
al@20503 | 38 DEPENDS="libsdl libsdl-mixer libvorbis gtk+ eduke32-data" |
mallory@2717 | 39 } |