wok view compiz-plugins-main/receipt @ rev 24783
Up apache-ant (1.10.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 20 12:11:06 2022 +0000 (2022-03-20) |
parents | cdbaf97bfe46 |
children | fe1b5660fdd1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-plugins-main"
4 VERSION="0.8.14"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz main plugins."
7 MAINTAINER="pankso@slitaz.org"
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 DEPENDS="compiz-core librsvg xorg-libX11"
15 BUILD_DEPENDS="compiz-bcop compiz-core-dev compiz-libcompizconfig
16 compiz-libcompizconfig-dev file gtk+-dev intltool libnotify-dev
17 librsvg-dev libtool libxslt-dev mesa-dev startup-notification-dev
18 util-linux-getopt util-linux-uuid-dev xcb-util-dev xorg-dev "
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 mkdir -p $fs/usr/share/locale
42 cp -a $install/usr/lib/compiz $fs/usr/lib
43 cp -a $install/usr/share/compiz $fs/usr/share
45 # Set list of wanted locales in LOCALE_PACK
46 . $WOK/slitaz-i18n/stuff/locale-pack.conf
48 # Copy message files in wanted languages, if available
49 for locale in $LOCALE_PACK
50 do
51 [ -d $install/usr/share/locale/$locale ] || continue
52 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
53 done
55 cd $fs/usr/lib/compiz; rm -f *.a *.la
56 }