wok annotate compiz-libcompizconfig/receipt @ rev 25609

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 20 14:03:05 2023 +0000 (16 months ago)
parents 5ea0ce1cecc0
children
rev   line source
pascal@11219 1 # SliTaz package receipt.
pascal@11219 2
pascal@11219 3 PACKAGE="compiz-libcompizconfig"
psychomaniak@19217 4 SOURCE="libcompizconfig"
Hans-G?nter@22613 5 VERSION="0.8.14"
pascal@11219 6 CATEGORY="x-window"
pascal@11219 7 SHORT_DESC="Compiz configuration library."
pascal@11219 8 MAINTAINER="pankso@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
Hans-G?nter@22613 10 WEB_SITE="https://github.com/compiz-reloaded"
Hans-G?nter@22613 11
psychomaniak@19217 12 TARBALL="$SOURCE-$VERSION.tar.xz"
psychomaniak@19217 13 WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL"
pascal@11219 14
Hans-G?nter@22613 15 DEPENDS="compiz-core glib libgio libxml2 protobuf"
Hans-G?nter@22613 16 BUILD_DEPENDS="compiz-core-dev file glib-dev glibc-dev libgio-dev
Hans-G?nter@22613 17 libtool libxml2-dev libxslt-dev mesa-dev
Hans-G?nter@22613 18 protobuf-dev startup-notification-dev xorg-dev"
pankso@12405 19
pascal@25598 20 # What is the latest version available today?
pascal@24055 21 current_version()
pascal@24055 22 {
pascal@24055 23 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@25598 24 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 25 }
pascal@24055 26
pascal@11219 27 # Rules to configure and make the package.
pascal@11219 28 compile_rules()
pascal@11219 29 {
Hans-G?nter@22613 30 ./configure --sysconfdir=/etc &&
Hans-G?nter@22613 31 make &&
Hans-G?nter@22613 32 make install
pascal@11219 33 }
pascal@11219 34
pascal@11219 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11219 36 genpkg_rules()
pascal@11219 37 {
Hans-G?nter@22613 38 mkdir -p $fs/usr/lib
Hans-G?nter@22613 39 mkdir -p $fs/usr/share
Hans-G?nter@22613 40
Hans-G?nter@22613 41 cp -a $install/etc $fs
Hans-G?nter@22613 42 cp -a $install/usr/lib/compiz* $fs/usr/lib
Hans-G?nter@22613 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22613 44 cp -a $install/usr/share/compiz $fs/usr/share
psychomaniak@19217 45 find $fs -name 'lib*a' -delete
pascal@11219 46 }