wok view compiz-plugins-unsupported/receipt @ rev 20656

tazpkg: do not assume . in search path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 13 11:43:59 2019 +0100 (2019-01-13)
parents 0c95118e9932
children cdbaf97bfe46
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-plugins-unsupported"
4 SOURCE="compiz-plugins-experimental"
5 VERSION="0.8.12"
6 CATEGORY="x-window"
7 SHORT_DESC="Compiz extra plugins."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="https://github.com/compiz-reloaded"
12 WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ librsvg \
15 libnotify compiz-plugins-main"
16 BUILD_DEPENDS="xorg-dev compiz-core-dev compiz-libcompizconfig-dev cmake \
17 libxslt-dev startup-notification-dev mesa-dev gtk+-dev intltool librsvg-dev \
18 libnotify-dev compiz-bcop util-linux-uuid-dev compiz-plugins-main-dev \
19 compiz-plugins-extra compiz-plugins-extra-dev libtool util-linux-getopt \
20 xcb-util-dev file"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure --prefix=/usr
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share/locale
33 cp -a $install/usr/lib/compiz $fs/usr/lib
34 cp -a $install/usr/share/compiz $fs/usr/share
35 cp -a $install/usr/share/locale/ru $fs/usr/share/locale
36 cd $fs/usr/lib/compiz; rm -f *.a *.la
37 }