wok-6.x diff fltk-blocks/receipt @ rev 17393

opus: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 27 16:05:28 2014 +0100 (2014-11-27)
parents
children 9e2e108fff96
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fltk-blocks/receipt	Thu Nov 27 16:05:28 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="fltk-blocks"
     1.7 +VERSION="1.3.2"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="FLTK Blocks game."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="LGPL2"
    1.12 +WEB_SITE="http://www.fltk.org/"
    1.13 +HOST_ARCH="i486 arm"
    1.14 +
    1.15 +WANTED="fltk"
    1.16 +DEPENDS="fltk"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd ${src}/test &&
    1.22 +	[ -x ./blocks ] || make blocks
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/games $fs/usr/share/pixmaps
    1.29 +	cp -a ${src}/test/blocks $fs/usr/games/$PACKAGE
    1.30 +	cp -a ${src}/test/desktop/blocks-32.png \
    1.31 +		$fs/usr/share/pixmaps/$PACKAGE.png
    1.32 +}