wok annotate matchbox-common/receipt @ rev 17869
Use VERSION variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 09:34:19 2015 +0100 (2015-03-26) |
parents | 3765f181a6d5 |
children | 241fb98cab1c |
rev | line source |
---|---|
pankso@10838 | 1 # SliTaz package receipt. |
pankso@10838 | 2 |
pankso@10838 | 3 PACKAGE="matchbox-common" |
pankso@10838 | 4 VERSION="0.9.1" |
pankso@10838 | 5 CATEGORY="x-window" |
pankso@10838 | 6 SHORT_DESC="Common files for matchbox window manager." |
pankso@10838 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15584 | 8 LICENSE="GPL2" |
pankso@10838 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@10838 | 10 WEB_SITE="http://matchbox-project.org/" |
pascal@17869 | 11 WGET_URL="${WEB_SITE}sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@10838 | 12 |
pankso@10838 | 13 DEPENDS="gtk+ libmatchbox" |
pankso@10838 | 14 BUILD_DEPENDS="gtk+-dev libmatchbox-dev" |
pankso@10838 | 15 |
pankso@10838 | 16 # Rules to configure and make the package. |
pankso@10838 | 17 compile_rules() |
pankso@10838 | 18 { |
pankso@10838 | 19 ./configure $CONFIGURE_ARGS && |
pankso@10838 | 20 make && make install |
pankso@10838 | 21 } |
pankso@10838 | 22 |
pankso@10838 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10838 | 24 genpkg_rules() |
pankso@10838 | 25 { |
pankso@10838 | 26 mkdir -p $fs/usr/bin |
pankso@10838 | 27 cp -a $install/usr/share $fs/usr |
pankso@10838 | 28 cp -a $stuff/matchbox-session $fs/usr/bin |
pankso@10838 | 29 # For matchbox v2 |
pankso@10838 | 30 #cp -a $stuff/matchbox-session-2 $fs/usr/bin |
pankso@10838 | 31 } |