wok view compiz-ccsm/receipt @ rev 15603
Use install instead of _pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 10:39:07 2013 +0000 (2013-12-06) |
parents | dcf18bb9b091 |
children | d3eb5f4b53ea |
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/0.9.4/$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 cd $src
22 ./setup.py build --prefix=/usr
23 ./setup.py install --prefix=/usr --root=$WOK/$PACKAGE/install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 cp -a $install/usr/share/ccsm $fs/usr/share
33 cp -a $install/usr/share/icons $fs/usr/share
34 cd $fs/usr/share
35 mkdir pixmaps
36 ln -s icons/hicolor/32x32/apps/ccsm.png pixmaps/ccsm.png
37 }