wok-next diff extended-actions/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents
children e70c0b9c5adf
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/extended-actions/receipt	Fri May 22 17:34:18 2015 +0300
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="extended-actions"
     1.7 +VERSION="0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Service for generating extended actions on files"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="https://launchpad.net/extended-actions"
    1.13 +BRANCH="5"
    1.14 +TARBALL="$PACKAGE-$BRANCH.tar.bz2"
    1.15 +WGET_URL="bzr|lp:extended-actions"
    1.16 +
    1.17 +DEPENDS="libgee libgio"
    1.18 +BUILD_DEPENDS="bazaar cmake vala glib-dev libgio-dev libgee-dev"
    1.19 +
    1.20 +TODO="Setup extended-actions specific to SliTaz"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	# gee-1.0 is old while gee-0.8 is latest ;)
    1.26 +	sed -i 's|gee-1.0|gee-0.8|g' $(grep -l gee-1.0 $(find . -type f))
    1.27 +
    1.28 +	mkdir build && cd build &&
    1.29 +	cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
    1.30 +	make &&
    1.31 +	make DESTDIR=$install install
    1.32 +}
    1.33 +
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	cp -a $install/* $fs
    1.38 +}