wok-current annotate compiz-ccsm/receipt @ rev 12086

osmo: Make sure /usr folder exist before copying /usr/bin folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Mar 09 21:48:21 2012 -0500 (2012-03-09)
parents
children dcf18bb9b091
rev   line source
pascal@11219 1 # SliTaz package receipt.
pascal@11219 2
pascal@11219 3 PACKAGE="compiz-ccsm"
pascal@11219 4 VERSION="0.9.4"
pascal@11219 5 CATEGORY="x-window"
pascal@11219 6 SHORT_DESC="Compiz Config Settings Manager."
pascal@11219 7 MAINTAINER="pankso@slitaz.org"
pascal@11219 8 DEPENDS="python pygtk compiz-core compiz-libcompizconfig"
pascal@11219 9 BUILD_DEPENDS="$DEPENDS python-dev pygtk-dev compiz-core-dev \
pascal@11219 10 compiz-libcompizconfig-dev"
pascal@11219 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11219 12 WEB_SITE="http://www.compiz.org/"
pascal@11219 13 WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL"
pascal@11219 14
pascal@11219 15 # Rules to configure and make the package.
pascal@11219 16 compile_rules()
pascal@11219 17 {
pascal@11219 18 cd $src
pascal@11219 19 ./setup.py build --prefix=/usr
pascal@11219 20 ./setup.py install --prefix=/usr --root=$WOK/$PACKAGE/install
pascal@11219 21 }
pascal@11219 22
pascal@11219 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11219 24 genpkg_rules()
pascal@11219 25 {
pascal@11219 26 mkdir -p $fs/usr/share
pascal@11219 27 cp -a $_pkg/usr/bin $fs/usr
pascal@11219 28 cp -a $_pkg/usr/lib $fs/usr
pascal@11219 29 cp -a $_pkg/usr/share/ccsm $fs/usr/share
pascal@11219 30 cp -a $_pkg/usr/share/icons $fs/usr/share
pascal@11219 31 cd $fs/usr/share
pascal@11219 32 mkdir pixmaps
pascal@11219 33 ln -s icons/hicolor/32x32/apps/ccsm.png pixmaps/ccsm.png
pascal@11219 34 }