wok-6.x view compiz-plugins-extra/receipt @ rev 21404
Up hiawatha (10.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 23 11:00:59 2019 +0200 (2019-04-23) |
parents | af21b00329e5 |
children | cdbaf97bfe46 |
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 \
20 util-linux-getopt xcb-util-dev file"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \
26 wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
27 patch -p1 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
28 ./configure --prefix=/usr
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share/locale
36 cp -a $install/usr/lib/compiz $fs/usr/lib
37 cp -a $install/usr/share/compiz $fs/usr/share
38 cp -a $install/usr/share/locale/ru $fs/usr/share/locale
39 cd $fs/usr/lib/compiz; rm -f *.a *.la
40 }