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

Up compiz* (0.8.12)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Jun 17 15:09:10 2016 +0300 (2016-06-17)
parents d3eb5f4b53ea
children c38559793ba8
rev   line source
pascal@11219 1 # SliTaz package receipt.
pascal@11219 2
pascal@11219 3 PACKAGE="compiz-ccsm"
psychomaniak@19217 4 VERSION="0.8.12.3"
pascal@11219 5 CATEGORY="x-window"
pascal@11219 6 SHORT_DESC="Compiz Config Settings Manager."
pascal@11219 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
psychomaniak@19217 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
psychomaniak@19217 10 WEB_SITE="https://github.com/compiz-reloaded/ccsm"
psychomaniak@19217 11 WGET_URL="$WEB_SITE/releases/download/v$VERSION/ccsm-$VERSION.tar.xz"
pascal@11219 12
psychomaniak@19217 13 DEPENDS="python pygobject3 compiz-core compiz-libcompizconfig \
psychomaniak@19217 14 compiz-compizconfig-python gtk-girepository"
psychomaniak@19217 15 BUILD_DEPENDS="$DEPENDS python-dev libtool compiz-core-dev \
pankso@13372 16 compiz-libcompizconfig-dev"
pankso@13372 17
pascal@11219 18 # Rules to configure and make the package.
pascal@11219 19 compile_rules()
pascal@11219 20 {
psychomaniak@19217 21 ./setup.py install --prefix=/usr --with-gtk=2.0 --root="$DESTDIR"
pascal@11219 22 }
pascal@11219 23
pascal@11219 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11219 25 genpkg_rules()
pascal@11219 26 {
psychomaniak@19217 27 mkdir -p $fs/usr/share/locale
pascal@15000 28 cp -a $install/usr/bin $fs/usr
pascal@15000 29 cp -a $install/usr/lib $fs/usr
psychomaniak@19217 30 cp -a $install/usr/share/locale/ru $fs/usr/share/locale
pascal@15000 31 cp -a $install/usr/share/ccsm $fs/usr/share
pascal@15000 32 cp -a $install/usr/share/icons $fs/usr/share
pascal@11219 33 cd $fs/usr/share
pascal@11219 34 mkdir pixmaps
pascal@11219 35 ln -s icons/hicolor/32x32/apps/ccsm.png pixmaps/ccsm.png
pascal@11219 36 }