wok annotate compiz-plugins-main/receipt @ rev 25236

updated python-shapely (1.7.0 -> 1.7.1)
author Hans-G?nter Theisgen
date Wed Jul 13 17:41:12 2022 +0100 (2022-07-13)
parents cdbaf97bfe46
children fe1b5660fdd1
rev   line source
pascal@11219 1 # SliTaz package receipt.
pascal@11219 2
pascal@11219 3 PACKAGE="compiz-plugins-main"
Hans-G?nter@22613 4 VERSION="0.8.14"
pascal@11219 5 CATEGORY="x-window"
pascal@11219 6 SHORT_DESC="Compiz main plugins."
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
psychomaniak@19217 12 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
pascal@11219 13
Hans-G?nter@22613 14 DEPENDS="compiz-core librsvg xorg-libX11"
Hans-G?nter@22613 15 BUILD_DEPENDS="compiz-bcop compiz-core-dev compiz-libcompizconfig
Hans-G?nter@22613 16 compiz-libcompizconfig-dev file gtk+-dev intltool libnotify-dev
Hans-G?nter@22613 17 librsvg-dev libtool libxslt-dev mesa-dev startup-notification-dev
Hans-G?nter@22613 18 util-linux-getopt util-linux-uuid-dev xcb-util-dev xorg-dev "
pankso@12405 19
pascal@24055 20 current_version()
pascal@24055 21 {
pascal@24055 22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 24 }
pascal@24055 25
pascal@11219 26 # Rules to configure and make the package.
pascal@11219 27 compile_rules()
pascal@11219 28 {
Hans-G?nter@22613 29 ./configure \
Hans-G?nter@22613 30 --prefix=/usr \
Hans-G?nter@22613 31 --sysconfdir=/etc &&
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 {
Hans-G?nter@22613 39 mkdir -p $fs/usr/lib
Hans-G?nter@22613 40 mkdir -p $fs/usr/share/locale
Hans-G?nter@22613 41
Hans-G?nter@22613 42 cp -a $install/usr/lib/compiz $fs/usr/lib
Hans-G?nter@22613 43 cp -a $install/usr/share/compiz $fs/usr/share
Hans-G?nter@22613 44
Hans-G?nter@22613 45 # Set list of wanted locales in LOCALE_PACK
Hans-G?nter@22613 46 . $WOK/slitaz-i18n/stuff/locale-pack.conf
Hans-G?nter@22613 47
Hans-G?nter@22613 48 # Copy message files in wanted languages, if available
Hans-G?nter@22613 49 for locale in $LOCALE_PACK
Hans-G?nter@22613 50 do
Hans-G?nter@22613 51 [ -d $install/usr/share/locale/$locale ] || continue
Hans-G?nter@22613 52 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
Hans-G?nter@22613 53 done
Hans-G?nter@22613 54
psychomaniak@19217 55 cd $fs/usr/lib/compiz; rm -f *.a *.la
pascal@11219 56 }