wok-6.x view compiz-ccsm/receipt @ rev 11425
sagan*: Cd to $src in compile_rules.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Dec 14 05:23:20 2011 +0000 (2011-12-14) |
parents | |
children | dcf18bb9b091 |
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 DEPENDS="python pygtk compiz-core compiz-libcompizconfig"
9 BUILD_DEPENDS="$DEPENDS python-dev pygtk-dev compiz-core-dev \
10 compiz-libcompizconfig-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.compiz.org/"
13 WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./setup.py build --prefix=/usr
20 ./setup.py install --prefix=/usr --root=$WOK/$PACKAGE/install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 cp -a $_pkg/usr/share/ccsm $fs/usr/share
30 cp -a $_pkg/usr/share/icons $fs/usr/share
31 cd $fs/usr/share
32 mkdir pixmaps
33 ln -s icons/hicolor/32x32/apps/ccsm.png pixmaps/ccsm.png
34 }