wok view compiz-compizconfig-python/receipt @ rev 24568

sokojs: add shrink.sh (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 26 16:37:15 2022 +0000 (2022-02-26)
parents cdbaf97bfe46
children fe1b5660fdd1
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-compizconfig-python"
4 VERSION="0.8.14"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz Configuration Python module."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/compiz-reloaded"
11 SOURCE="${PACKAGE/compiz-/}"
12 TARBALL="$SOURCE-$VERSION.tar.xz"
13 WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL"
15 DEPENDS="compiz-core compiz-libcompizconfig python"
16 BUILD_DEPENDS="compiz-core-dev compiz-libcompizconfig-dev file
17 libtool libxslt-dev protobuf-dev pygtk-dev python-cython
18 python-dev startup-notification-dev util-linux-uuid-dev
19 xcb-util-dev"
21 current_version()
22 {
23 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure --prefix=/usr &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs
39 cp -a $install/usr $fs
40 }