wok-6.x annotate dega/receipt @ rev 14507
Add get-src2pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 14 07:26:31 2013 +0200 (2013-05-14) |
parents | a0250385f2a5 |
children | eb8067417980 |
rev | line source |
---|---|
slaxemulator@9459 | 1 # SliTaz package receipt. |
slaxemulator@9459 | 2 |
slaxemulator@9459 | 3 PACKAGE="dega" |
slaxemulator@9459 | 4 VERSION="1.12" |
slaxemulator@9459 | 5 CATEGORY="games" |
slaxemulator@9459 | 6 SHORT_DESC="A small Sega Master System and Game Gear emulator" |
slaxemulator@9459 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9459 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@9459 | 9 WEB_SITE="http://www.finalburn.com/dega" |
slaxemulator@9459 | 10 WGET_URL="http://www.emulinks.de/emus/$TARBALL" |
pascal@13041 | 11 TAGS="emulator sega" |
slaxemulator@9459 | 12 |
erjo@9931 | 13 DEPENDS="libsdl" |
erjo@9931 | 14 BUILD_DEPENDS="nasm libsdl-dev" |
erjo@9931 | 15 |
slaxemulator@9459 | 16 # Rules to configure and make the package. |
slaxemulator@9459 | 17 compile_rules() |
slaxemulator@9459 | 18 { |
slaxemulator@9459 | 19 cd $src |
pascal@13044 | 20 sed -i 's/--libs.*/& -lm/' Makefile |
slaxemulator@9459 | 21 make |
slaxemulator@9459 | 22 } |
slaxemulator@9459 | 23 |
slaxemulator@9459 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9459 | 25 genpkg_rules() |
slaxemulator@9459 | 26 { |
slaxemulator@9459 | 27 mkdir -p $fs/usr/bin |
slaxemulator@9459 | 28 cp -a $src/dega $fs/usr/bin |
slaxemulator@9459 | 29 } |
slaxemulator@9459 | 30 |