wok-6.x annotate compiz-plugins-unsupported/receipt @ rev 25563
New toolchain GCC 4.9.2, Glibc 2.19, Binutils 2.37
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri May 05 18:12:18 2023 +0200 (18 months ago) |
parents | cdbaf97bfe46 |
children |
rev | line source |
---|---|
pankso@15957 | 1 # SliTaz package receipt. |
pankso@15957 | 2 |
pankso@15957 | 3 PACKAGE="compiz-plugins-unsupported" |
Hans-G?nter@22613 | 4 VERSION="0.8.14" |
pankso@15957 | 5 CATEGORY="x-window" |
psychomaniak@19217 | 6 SHORT_DESC="Compiz extra plugins." |
pankso@15957 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15957 | 8 LICENSE="GPL2" |
Hans-G?nter@22613 | 9 WEB_SITE="https://github.com/compiz-reloaded" |
Hans-G?nter@22613 | 10 |
Hans-G?nter@22613 | 11 SOURCE="compiz-plugins-experimental" |
psychomaniak@19217 | 12 TARBALL="$SOURCE-$VERSION.tar.xz" |
psychomaniak@19217 | 13 WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL" |
pankso@15957 | 14 |
Hans-G?nter@22613 | 15 DEPENDS="compiz-core compiz-libcompizconfig compiz-plugins-main |
Hans-G?nter@22613 | 16 gtk+ libnotify librsvg xorg-libX11" |
Hans-G?nter@22613 | 17 BUILD_DEPENDS="cmake compiz-bcop compiz-core-dev compiz-libcompizconfig-dev |
Hans-G?nter@22613 | 18 compiz-plugins-extra compiz-plugins-extra-dev compiz-plugins-main-dev |
Hans-G?nter@22613 | 19 file gtk+-dev intltool libnotify-dev librsvg-dev libtool libxslt-dev |
Hans-G?nter@22613 | 20 mesa-dev startup-notification-dev util-linux-getopt util-linux-uuid-dev |
Hans-G?nter@22613 | 21 xcb-util-dev xorg-dev" |
pankso@15957 | 22 |
pascal@24055 | 23 current_version() |
pascal@24055 | 24 { |
pascal@24055 | 25 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 26 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 27 } |
pascal@24055 | 28 |
pankso@15957 | 29 # Rules to configure and make the package. |
pankso@15957 | 30 compile_rules() |
pankso@15957 | 31 { |
Hans-G?nter@22613 | 32 ./configure --prefix=/usr && |
Hans-G?nter@22613 | 33 make && |
Hans-G?nter@22613 | 34 make install |
pankso@15957 | 35 } |
pankso@15957 | 36 |
pankso@15957 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15957 | 38 genpkg_rules() |
pankso@15957 | 39 { |
Hans-G?nter@22613 | 40 mkdir -p $fs/usr/lib |
Hans-G?nter@22613 | 41 mkdir -p $fs/usr/share/locale |
Hans-G?nter@22613 | 42 |
Hans-G?nter@22613 | 43 cp -a $install/usr/lib/compiz $fs/usr/lib |
Hans-G?nter@22613 | 44 cp -a $install/usr/share/compiz $fs/usr/share |
Hans-G?nter@22613 | 45 |
Hans-G?nter@22613 | 46 # Set list of wanted locales in LOCALE_PACK |
Hans-G?nter@22613 | 47 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
Hans-G?nter@22613 | 48 |
Hans-G?nter@22613 | 49 # Copy message files in wanted languages, if available |
Hans-G?nter@22613 | 50 for locale in $LOCALE_PACK |
Hans-G?nter@22613 | 51 do |
Hans-G?nter@22613 | 52 [ -d $install/usr/share/locale/$locale ] || continue |
Hans-G?nter@22613 | 53 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale |
Hans-G?nter@22613 | 54 done |
Hans-G?nter@22613 | 55 |
psychomaniak@19217 | 56 cd $fs/usr/lib/compiz; rm -f *.a *.la |
pankso@15957 | 57 } |