# SliTaz package receipt. PACKAGE="fltk-blocks" VERSION="1.3.8" CATEGORY="games" SHORT_DESC="FLTK Blocks game." MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2" WEB_SITE="https://www.fltk.org/" DEPENDS="fltk" WANTED="fltk" HOST_ARCH="i486 arm" # Rules to configure and make the package. compile_rules() { cd ${src}/test && [ -x ./blocks ] || make blocks } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/games mkdir -p $fs/usr/share/pixmaps cp -a ${src}/test/blocks $fs/usr/games/$PACKAGE cp -a ${src}/test/desktop/blocks-32.png \ $fs/usr/share/pixmaps/$PACKAGE.png }