wok view compiz-plugins-extra/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents cdbaf97bfe46
children fe1b5660fdd1
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-plugins-extra"
4 VERSION="0.8.14"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz extra plugins."
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 WGET_URL2="$WEB_SITE/$PACKAGE/commit/0b2a652.diff"
15 EXTRA_SOURCE_FILES="$PACKAGE-0b2a652.u"
17 DEPENDS="compiz-core compiz-libcompizconfig compiz-plugins-main
18 gtk+ libnotify librsvg xorg-libX11"
19 BUILD_DEPENDS="cmake compiz-bcop compiz-core-dev compiz-libcompizconfig-dev
20 compiz-plugins-main-dev file gtk+-dev intltool libnotify-dev
21 librsvg-dev libtool libxslt-dev mesa-dev startup-notification-dev
22 util-linux-getopt util-linux-uuid-dev xcb-util-dev xorg-dev"
24 current_version()
25 {
26 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
27 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 # 0.8.12.1
34 # [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \
35 # wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
36 # patch -p1 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
38 ./configure --prefix=/usr &&
39 make &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 mkdir -p $fs/usr/share/locale
49 cp -a $install/usr/lib/compiz $fs/usr/lib
50 cp -a $install/usr/share/compiz $fs/usr/share
52 # Set list of wanted locales in LOCALE_PACK
53 . $WOK/slitaz-i18n/stuff/locale-pack.conf
55 # Copy message files in wanted languages, if available
56 for locale in $LOCALE_PACK
57 do
58 [ -d $install/usr/share/locale/$locale ] || continue
59 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
60 done
62 cd $fs/usr/lib/compiz; rm -f *.a *.la
63 }