wok annotate compiz-plugins-extra/receipt @ rev 20590

Update some deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 15 19:21:31 2018 +0100 (2018-12-15)
parents af21b00329e5
children cdbaf97bfe46
rev   line source
pankso@15957 1 # SliTaz package receipt.
pankso@15957 2
pankso@15957 3 PACKAGE="compiz-plugins-extra"
psychomaniak@19217 4 VERSION="0.8.12.1"
pankso@15957 5 CATEGORY="x-window"
pankso@15957 6 SHORT_DESC="Compiz extra plugins."
psychomaniak@19217 7 MAINTAINER="psychomaniak@xakep.ru"
pankso@15957 8 LICENSE="GPL2"
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/$PACKAGE/releases/download/v$VERSION/$TARBALL"
psychomaniak@19217 12 WGET_URL2="$WEB_SITE/$PACKAGE/commit/0b2a652.diff"
psychomaniak@19217 13 EXTRA_SOURCE_FILES="$PACKAGE-0b2a652.u"
pankso@15957 14
pankso@15957 15 DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ librsvg \
pankso@15957 16 libnotify compiz-plugins-main"
pankso@15957 17 BUILD_DEPENDS="xorg-dev compiz-core-dev compiz-libcompizconfig-dev cmake \
psychomaniak@19217 18 libxslt-dev startup-notification-dev mesa-dev gtk+-dev intltool librsvg-dev \
psychomaniak@19218 19 libnotify-dev compiz-bcop util-linux-uuid-dev compiz-plugins-main-dev libtool \
pascal@20590 20 util-linux-getopt 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 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \
psychomaniak@19217 26 wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
psychomaniak@19217 27 patch -p1 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
psychomaniak@19217 28 ./configure --prefix=/usr
pankso@15957 29 make && make install
pankso@15957 30 }
pankso@15957 31
pankso@15957 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15957 33 genpkg_rules()
pankso@15957 34 {
psychomaniak@19217 35 mkdir -p $fs/usr/lib $fs/usr/share/locale
pankso@15957 36 cp -a $install/usr/lib/compiz $fs/usr/lib
pankso@15957 37 cp -a $install/usr/share/compiz $fs/usr/share
psychomaniak@19217 38 cp -a $install/usr/share/locale/ru $fs/usr/share/locale
psychomaniak@19217 39 cd $fs/usr/lib/compiz; rm -f *.a *.la
pankso@15957 40 }