wok view compiz-plugins-main/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | 5ea0ce1cecc0 |
children |
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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
24 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --sysconfdir=/etc &&
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 }