wok-current view compiz-core/receipt @ rev 21587

remove setuptools
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 20 16:42:53 2019 +0200 (2019-05-20)
parents 8e1f5fe117e6
children cdbaf97bfe46
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-core"
4 VERSION="0.8.12.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz is an OpenGL compositing manager for 3D effect."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT GPL LGPL"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://github.com/compiz-reloaded"
11 WGET_URL="$WEB_SITE/compiz/releases/download/v$VERSION/compiz-$VERSION.tar.xz"
13 DEPENDS="librsvg libxslt mesa libglu-mesa dbus dbus-glib startup-notification \
14 compiz-bcop compiz-libcompizconfig"
15 BUILD_DEPENDS="xorg-dev intltool librsvg-dev libxslt-dev pango-dev libtool \
16 startup-notification-dev mesa-dev file dbus-dev dbus-glib-dev cairo-dev \
17 util-linux-uuid-dev xcb-util-dev libcroco-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure --prefix=/usr --enable-shared --enable-librsvg \
23 --enable-dbus --enable-dbus-glib --enable-glib \
24 --disable-static --disable-inotify
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share/locale
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/compiz $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/share/compiz $fs/usr/share
36 cp -a $install/usr/share/icons $fs/usr/share
37 cp -a $install/usr/share/locale/ru $fs/usr/share
38 rm -rf $fs/usr/lib/compiz/*.la
39 sed 's|bash|sh|' -i $fs/usr/bin/compiz-decorator
40 }