wok view compiz-bcop/receipt @ rev 25598
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 12:03:07 2023 +0000 (16 months ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-bcop"
4 VERSION="0.8.14"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz option code generator."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/compiz-reloaded"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="compiz-core libxslt xorg-libX11"
15 BUILD_DEPENDS="compiz-core-dev libtool libxslt-dev
16 startup-notification-dev xorg-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure --prefix=/usr &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }