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

Up SliTaz projects: cookutils(867), slitaz-base-files(321), slitaz-boot-scripts(437), slitaz-tools(1009), tazbug(95), tazirc(20), tazlito(448), tazpkg(933).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 17 17:38:43 2017 +0200 (2017-01-17)
parents 8e1f5fe117e6
children cdbaf97bfe46
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"
psychomaniak@19437 22
psychomaniak@19437 23 find $DESTDIR -name ccsm.desktop | xargs \
psychomaniak@19437 24 sed -i 's#Exec=.*#Exec=sh -c \"ccsm \|\| LC_ALL=C LANG=C ccsm\"#'
pascal@11219 25 }
pascal@11219 26
pascal@11219 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11219 28 genpkg_rules()
pascal@11219 29 {
psychomaniak@19217 30 mkdir -p $fs/usr/share/locale
pascal@15000 31 cp -a $install/usr/bin $fs/usr
pascal@15000 32 cp -a $install/usr/lib $fs/usr
psychomaniak@19217 33 cp -a $install/usr/share/locale/ru $fs/usr/share/locale
pascal@15000 34 cp -a $install/usr/share/ccsm $fs/usr/share
pascal@15000 35 cp -a $install/usr/share/icons $fs/usr/share
pascal@11219 36 }