# SliTaz package receipt. PACKAGE="compiz-plugins-unsupported" VERSION="0.8.14" CATEGORY="x-window" SHORT_DESC="Compiz extra plugins." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="https://github.com/compiz-reloaded" SOURCE="compiz-plugins-experimental" TARBALL="$SOURCE-$VERSION.tar.xz" WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL" DEPENDS="compiz-core compiz-libcompizconfig compiz-plugins-main gtk+ libnotify librsvg xorg-libX11" BUILD_DEPENDS="cmake compiz-bcop compiz-core-dev compiz-libcompizconfig-dev compiz-plugins-extra compiz-plugins-extra-dev compiz-plugins-main-dev file gtk+-dev intltool libnotify-dev librsvg-dev libtool libxslt-dev mesa-dev startup-notification-dev util-linux-getopt util-linux-uuid-dev xcb-util-dev xorg-dev" current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./configure --prefix=/usr && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib mkdir -p $fs/usr/share/locale cp -a $install/usr/lib/compiz $fs/usr/lib cp -a $install/usr/share/compiz $fs/usr/share # Set list of wanted locales in LOCALE_PACK . $WOK/slitaz-i18n/stuff/locale-pack.conf # Copy message files in wanted languages, if available for locale in $LOCALE_PACK do [ -d $install/usr/share/locale/$locale ] || continue cp -a $install/usr/share/locale/$locale $fs/usr/share/locale done cd $fs/usr/lib/compiz; rm -f *.a *.la }