wok-current annotate primateplunge/receipt @ rev 14794
catfish: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 08 20:42:48 2013 +0000 (2013-07-08) |
parents | 3d58ea8d09d4 |
children | 6135577f4d08 |
rev | line source |
---|---|
al@14275 | 1 # SliTaz package receipt. |
al@14275 | 2 |
al@14275 | 3 PACKAGE="primateplunge" |
al@14275 | 4 VERSION="1.1" |
al@14275 | 5 CATEGORY="games" |
al@14275 | 6 SHORT_DESC="Primate plunge game" |
al@14275 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14275 | 8 LICENSE="other" |
al@14275 | 9 WEB_SITE="http://www.aelius.com/primateplunge/" |
al@14275 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14285 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
al@14275 | 12 |
al@14275 | 13 DEPENDS="libsdl-mixer" |
al@14275 | 14 BUILD_DEPENDS="libsdl-mixer-dev" |
al@14275 | 15 |
al@14275 | 16 # Rules to configure and make the package. |
al@14275 | 17 compile_rules() |
al@14275 | 18 { |
al@14275 | 19 ./configure $CONFIGURE_ARGS && make && make install |
al@14275 | 20 } |
al@14275 | 21 |
al@14275 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14275 | 23 genpkg_rules() |
al@14275 | 24 { |
al@14275 | 25 cp -a $install/* $fs |
al@14275 | 26 mkdir -p $fs/usr/share/licenses |
al@14275 | 27 cp $src/COPYING $fs/usr/share/licenses/$PACKAGE |
al@14275 | 28 } |