wok-6.x view compiz-plugins-extra/receipt @ rev 19217

Up compiz* (0.8.12)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Jun 17 15:09:10 2016 +0300 (2016-06-17)
parents d3eb5f4b53ea
children 796702fad3ad
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-plugins-extra"
4 VERSION="0.8.12.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz extra plugins."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://github.com/compiz-reloaded"
11 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
12 WGET_URL2="$WEB_SITE/$PACKAGE/commit/0b2a652.diff"
13 EXTRA_SOURCE_FILES="$PACKAGE-0b2a652.u"
15 DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ librsvg \
16 libnotify compiz-plugins-main"
17 BUILD_DEPENDS="xorg-dev compiz-core-dev compiz-libcompizconfig-dev cmake \
18 libxslt-dev startup-notification-dev mesa-dev gtk+-dev intltool librsvg-dev \
19 libnotify-dev compiz-bcop util-linux-uuid-dev compiz-plugins-main-dev libtool"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \
25 wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
26 patch -p1 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
27 ./configure --prefix=/usr
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share/locale
35 cp -a $install/usr/lib/compiz $fs/usr/lib
36 cp -a $install/usr/share/compiz $fs/usr/share
37 cp -a $install/usr/share/locale/ru $fs/usr/share/locale
38 cd $fs/usr/lib/compiz; rm -f *.a *.la
39 }