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