wok-next diff fltk-blocks/receipt @ rev 18306

busybox-static: add basename (for /init)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 24 12:14:49 2015 +0200 (2015-08-24)
parents
children 9e2e108fff96
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fltk-blocks/receipt	Mon Aug 24 12:14:49 2015 +0200
     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 +}