wok-6.x view compiz-compizconfig-python/receipt @ rev 24759
pkg-config: use autoconf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 08:01:47 2022 +0000 (2022-03-18) |
parents | cdbaf97bfe46 |
children |
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 }