# SliTaz package receipt. PACKAGE="compiz-compizconfig-python" VERSION="0.8.14" CATEGORY="x-window" SHORT_DESC="Compiz Configuration Python module." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="https://github.com/compiz-reloaded" SOURCE="${PACKAGE/compiz-/}" TARBALL="$SOURCE-$VERSION.tar.xz" WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL" DEPENDS="compiz-core compiz-libcompizconfig python" BUILD_DEPENDS="compiz-core-dev compiz-libcompizconfig-dev file libtool libxslt-dev protobuf-dev pygtk-dev python-cython python-dev startup-notification-dev util-linux-uuid-dev xcb-util-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 cp -a $install/usr $fs }