wok annotate compiz-plugins-main/receipt @ rev 23979
xvkbd: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 18 09:50:51 2020 +0000 (2020-11-18) |
parents | ae335becd41b |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@11219 | 1 # SliTaz package receipt. |
pascal@11219 | 2 |
pascal@11219 | 3 PACKAGE="compiz-plugins-main" |
Hans-G?nter@22613 | 4 VERSION="0.8.14" |
pascal@11219 | 5 CATEGORY="x-window" |
pascal@11219 | 6 SHORT_DESC="Compiz main plugins." |
pascal@11219 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@22613 | 9 WEB_SITE="https://github.com/compiz-reloaded" |
Hans-G?nter@22613 | 10 |
psychomaniak@19217 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
psychomaniak@19217 | 12 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
pascal@11219 | 13 |
Hans-G?nter@22613 | 14 DEPENDS="compiz-core librsvg xorg-libX11" |
Hans-G?nter@22613 | 15 BUILD_DEPENDS="compiz-bcop compiz-core-dev compiz-libcompizconfig |
Hans-G?nter@22613 | 16 compiz-libcompizconfig-dev file gtk+-dev intltool libnotify-dev |
Hans-G?nter@22613 | 17 librsvg-dev libtool libxslt-dev mesa-dev startup-notification-dev |
Hans-G?nter@22613 | 18 util-linux-getopt util-linux-uuid-dev xcb-util-dev xorg-dev " |
pankso@12405 | 19 |
pascal@11219 | 20 # Rules to configure and make the package. |
pascal@11219 | 21 compile_rules() |
pascal@11219 | 22 { |
Hans-G?nter@22613 | 23 ./configure \ |
Hans-G?nter@22613 | 24 --prefix=/usr \ |
Hans-G?nter@22613 | 25 --sysconfdir=/etc && |
Hans-G?nter@22613 | 26 make && |
Hans-G?nter@22613 | 27 make install |
pascal@11219 | 28 } |
pascal@11219 | 29 |
pascal@11219 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 31 genpkg_rules() |
pascal@11219 | 32 { |
Hans-G?nter@22613 | 33 mkdir -p $fs/usr/lib |
Hans-G?nter@22613 | 34 mkdir -p $fs/usr/share/locale |
Hans-G?nter@22613 | 35 |
Hans-G?nter@22613 | 36 cp -a $install/usr/lib/compiz $fs/usr/lib |
Hans-G?nter@22613 | 37 cp -a $install/usr/share/compiz $fs/usr/share |
Hans-G?nter@22613 | 38 |
Hans-G?nter@22613 | 39 # Set list of wanted locales in LOCALE_PACK |
Hans-G?nter@22613 | 40 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
Hans-G?nter@22613 | 41 |
Hans-G?nter@22613 | 42 # Copy message files in wanted languages, if available |
Hans-G?nter@22613 | 43 for locale in $LOCALE_PACK |
Hans-G?nter@22613 | 44 do |
Hans-G?nter@22613 | 45 [ -d $install/usr/share/locale/$locale ] || continue |
Hans-G?nter@22613 | 46 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale |
Hans-G?nter@22613 | 47 done |
Hans-G?nter@22613 | 48 |
psychomaniak@19217 | 49 cd $fs/usr/lib/compiz; rm -f *.a *.la |
pascal@11219 | 50 } |