wok-current annotate matchbox-common/receipt @ rev 13299

dukto: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 28 14:08:54 2012 +0200 (2012-08-28)
parents
children 3765f181a6d5
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"
pankso@10838 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@10838 9 WEB_SITE="http://matchbox-project.org/"
pankso@10838 10 WGET_URL="${WEB_SITE}sources/$PACKAGE/0.9/$TARBALL"
pankso@10838 11
pankso@10838 12 DEPENDS="gtk+ libmatchbox"
pankso@10838 13 BUILD_DEPENDS="gtk+-dev libmatchbox-dev"
pankso@10838 14
pankso@10838 15 # Rules to configure and make the package.
pankso@10838 16 compile_rules()
pankso@10838 17 {
pankso@10838 18 cd $src
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 }