wok-current view compiz-plugins-unsupported/receipt @ rev 25234

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