wok annotate compiz-compizconfig-python/receipt @ rev 25611
Add zx0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 01 18:37:27 2023 +0000 (14 months ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@11219 | 1 # SliTaz package receipt. |
pascal@11219 | 2 |
pascal@11219 | 3 PACKAGE="compiz-compizconfig-python" |
Hans-G?nter@22613 | 4 VERSION="0.8.14" |
pascal@11219 | 5 CATEGORY="x-window" |
Hans-G?nter@22613 | 6 SHORT_DESC="Compiz Configuration Python module." |
pascal@11219 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@22613 | 9 WEB_SITE="https://github.com/compiz-reloaded" |
Hans-G?nter@22613 | 10 |
psychomaniak@19217 | 11 SOURCE="${PACKAGE/compiz-/}" |
psychomaniak@19217 | 12 TARBALL="$SOURCE-$VERSION.tar.xz" |
psychomaniak@19217 | 13 WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL" |
pascal@15000 | 14 |
Hans-G?nter@22613 | 15 DEPENDS="compiz-core compiz-libcompizconfig python" |
Hans-G?nter@22613 | 16 BUILD_DEPENDS="compiz-core-dev compiz-libcompizconfig-dev file |
Hans-G?nter@22613 | 17 libtool libxslt-dev protobuf-dev pygtk-dev python-cython |
Hans-G?nter@22613 | 18 python-dev startup-notification-dev util-linux-uuid-dev |
Hans-G?nter@22613 | 19 xcb-util-dev" |
pascal@11219 | 20 |
pascal@25598 | 21 # What is the latest version available today? |
pascal@24055 | 22 current_version() |
pascal@24055 | 23 { |
pascal@24055 | 24 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@25598 | 25 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 26 } |
pascal@24055 | 27 |
pascal@11219 | 28 # Rules to configure and make the package. |
pascal@11219 | 29 compile_rules() |
pascal@11219 | 30 { |
Hans-G?nter@22613 | 31 ./configure --prefix=/usr && |
Hans-G?nter@22613 | 32 make && |
Hans-G?nter@22613 | 33 make install |
pascal@11219 | 34 } |
pascal@11219 | 35 |
pascal@11219 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 37 genpkg_rules() |
pascal@11219 | 38 { |
pascal@11219 | 39 mkdir -p $fs |
Hans-G?nter@22613 | 40 cp -a $install/usr $fs |
pascal@11219 | 41 } |