wok-6.x view compiz-ccsm/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 380ffe05937a
children 8e1f5fe117e6
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-ccsm"
4 VERSION="0.9.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz Config Settings Manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.compiz.org/"
11 WGET_URL="http://releases.compiz.org/$VERSION/$TARBALL"
13 DEPENDS="python pygtk compiz-core compiz-libcompizconfig \
14 compiz-compizconfig-python"
15 BUILD_DEPENDS="$DEPENDS python-dev pygtk-dev compiz-core-dev \
16 compiz-libcompizconfig-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./setup.py build --prefix=/usr
22 ./setup.py install --prefix=/usr --root=$WOK/$PACKAGE/install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 cp -a $install/usr/share/ccsm $fs/usr/share
32 cp -a $install/usr/share/icons $fs/usr/share
33 cd $fs/usr/share
34 mkdir pixmaps
35 ln -s icons/hicolor/32x32/apps/ccsm.png pixmaps/ccsm.png
36 }