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