wok-next view compiz-ccsm/receipt @ rev 20407

Up miniupnp (2.0.20171212)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 18 12:55:43 2017 +0100 (2017-12-18)
parents c38559793ba8
children d958fec46c9f
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-ccsm"
4 VERSION="0.8.12.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz Config Settings Manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://github.com/compiz-reloaded/ccsm"
11 WGET_URL="$WEB_SITE/releases/download/v$VERSION/ccsm-$VERSION.tar.xz"
13 DEPENDS="python pygobject3 compiz-core compiz-libcompizconfig \
14 compiz-compizconfig-python gtk-girepository"
15 BUILD_DEPENDS="$DEPENDS python-dev libtool compiz-core-dev \
16 compiz-libcompizconfig-dev intltool"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./setup.py install --prefix=/usr --with-gtk=2.0 --root="$DESTDIR"
23 find $DESTDIR -name ccsm.desktop | xargs \
24 sed -i 's#Exec=.*#Exec=sh -c \"ccsm \|\| LC_ALL=C LANG=C ccsm\"#'
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/locale
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/share/locale/ru $fs/usr/share/locale
34 cp -a $install/usr/share/ccsm $fs/usr/share
35 cp -a $install/usr/share/icons $fs/usr/share
36 }