wok-next annotate dega/receipt @ rev 20135

wvstreams: tiny patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 31 17:06:41 2017 +0100 (2017-10-31)
parents ce734eff2506
children d5aab818505e
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"
pascal@15579 8 LICENSE="other"
slaxemulator@9459 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@9459 10 WEB_SITE="http://www.finalburn.com/dega"
slaxemulator@9459 11 WGET_URL="http://www.emulinks.de/emus/$TARBALL"
pascal@13041 12 TAGS="emulator sega"
slaxemulator@9459 13
erjo@9931 14 DEPENDS="libsdl"
erjo@9931 15 BUILD_DEPENDS="nasm libsdl-dev"
erjo@9931 16
slaxemulator@9459 17 # Rules to configure and make the package.
slaxemulator@9459 18 compile_rules()
slaxemulator@9459 19 {
slaxemulator@9459 20 cd $src
pascal@13044 21 sed -i 's/--libs.*/& -lm/' Makefile
slaxemulator@9459 22 make
slaxemulator@9459 23 }
slaxemulator@9459 24
slaxemulator@9459 25 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9459 26 genpkg_rules()
slaxemulator@9459 27 {
slaxemulator@9459 28 mkdir -p $fs/usr/bin
slaxemulator@9459 29 cp -a $src/dega $fs/usr/bin
slaxemulator@9459 30 }
slaxemulator@9459 31