wok-next annotate eduke32/receipt @ rev 5223
Add liblinebreak
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Wed Apr 07 12:52:46 2010 +0000 (2010-04-07) |
parents | e8024c01fc47 |
children | 4a13e7cb398c |
rev | line source |
---|---|
mallory@2717 | 1 # SliTaz package receipt. |
mallory@2717 | 2 |
mallory@2717 | 3 PACKAGE="eduke32" |
mallory@2717 | 4 VERSION="20090313" |
mallory@2717 | 5 CATEGORY="games" |
pascal@2751 | 6 SHORT_DESC="Duke Nuken shoot them up port" |
mallory@2717 | 7 MAINTAINER="mallory@sweetpeople.org" |
pankso@3425 | 8 DEPENDS="libsdl libsdl-mixer libvorbis gtk+" |
pankso@3425 | 9 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libvorbis-dev gtk+-dev nasm" |
mallory@2717 | 10 TARBALL="$PACKAGE""_src_20090131.zip" |
mallory@2717 | 11 WEB_SITE="http://www.eduke32.com/" |
mallory@2717 | 12 WGET_URL="http://wiki.eduke32.com/stuff/source_code/$TARBALL" |
jozee@4935 | 13 TAGS="shooting" |
mallory@2717 | 14 |
mallory@2717 | 15 # Rules to configure and make the package. |
mallory@2717 | 16 compile_rules() |
mallory@2717 | 17 { |
mallory@2717 | 18 mv eduke32_src_20090131 eduke32-20090313 |
mallory@2717 | 19 cd $src |
mallory@2717 | 20 wget http://wiki.eduke32.com/stuff/source_code/eduke32_src_20090313.diff |
mallory@2717 | 21 patch -p1 < eduke32_src_20090313.diff |
pascal@2751 | 22 make || return 1 |
mallory@2717 | 23 mkdir $src/_pkg |
mallory@2717 | 24 cp eduke32 mapster32 $src/_pkg |
mallory@2717 | 25 } |
mallory@2717 | 26 |
mallory@2717 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2717 | 28 genpkg_rules() |
mallory@2717 | 29 { |
mallory@2717 | 30 echo "Building package tree" |
mallory@2717 | 31 mkdir -p $fs/usr/bin \ |
mallory@2717 | 32 $fs/usr/share/games/eduke32 \ |
mallory@2717 | 33 $fs/usr/share/applications \ |
mallory@2717 | 34 $fs/usr/share/pixmaps \ |
mallory@2717 | 35 |
mallory@2717 | 36 echo "Copying package files" |
mallory@2717 | 37 cp -a $src/eduke32 $src/mapster32 $fs/usr/bin |
mallory@2717 | 38 |
mallory@2717 | 39 echo "Downloading game data" |
mallory@2717 | 40 wget http://people.slitaz.org/~mallory/stuff/eduke32/duke3d.grp -O $fs/usr/share/games/eduke32/duke3d.grp |
mallory@2717 | 41 |
mallory@2717 | 42 echo "Copying metadata" |
mallory@2717 | 43 cp stuff/eduke32.desktop $fs/usr/share/applications |
mallory@2717 | 44 cp stuff/eduke32.png $fs/usr/share/pixmaps |
mallory@2717 | 45 } |
mallory@2717 | 46 |
mallory@2717 | 47 |