wok-6.x annotate rubix/receipt @ rev 19692
ntfs-3g: update genpkg-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 13 12:26:10 2017 +0100 (2017-02-13) |
parents | |
children | 453c249b6219 |
rev | line source |
---|---|
pascal@17327 | 1 # SliTaz package receipt. |
pascal@17327 | 2 |
pascal@17327 | 3 PACKAGE="rubix" |
pascal@17327 | 4 VERSION="1.0.6" |
pascal@17327 | 5 CATEGORY="games" |
pascal@17327 | 6 SHORT_DESC="A 3D rubiks cube game for X." |
pascal@17327 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17327 | 8 LICENSE="PublicDomain" |
pascal@17327 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@17327 | 10 WEB_SITE="http://sed.free.fr/rubix" |
pascal@17327 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@17327 | 12 |
pascal@17327 | 13 DEPENDS="xorg-libX11 libxcb xorg-libXau xorg-libXdmcp" |
pascal@17327 | 14 BUILD_DEPENDS="xorg-dev" |
pascal@17327 | 15 |
pascal@17327 | 16 # Rules to configure and make the package. |
pascal@17327 | 17 compile_rules() |
pascal@17327 | 18 { |
pascal@17327 | 19 ./configure \ |
pascal@17327 | 20 --prefix=/usr \ |
pascal@17327 | 21 $CONFIGURE_ARGS |
pascal@17327 | 22 make |
pascal@17327 | 23 } |
pascal@17327 | 24 |
pascal@17327 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17327 | 26 genpkg_rules() |
pascal@17327 | 27 { |
pascal@17327 | 28 mkdir -p $fs/usr/bin |
pascal@17327 | 29 cp -a $src/rubix $fs/usr/bin |
pascal@17327 | 30 } |