wok rev 13332

Add python-pyexiv2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 04 16:32:08 2012 +0200 (2012-09-04)
parents a679c2ae3e52
children 0bd7677163aa
files get-opera/stuff/get-opera python-pyexiv2/receipt
line diff
     1.1 --- a/get-opera/stuff/get-opera	Tue Sep 04 13:44:53 2012 +0200
     1.2 +++ b/get-opera/stuff/get-opera	Tue Sep 04 16:32:08 2012 +0200
     1.3 @@ -2,6 +2,8 @@
     1.4  
     1.5  PACKAGE="opera"
     1.6  WEB_SITE="http://www.opera.com/"
     1.7 +CATEGORY="non-free"
     1.8 +DEPENDS="libQtGui"
     1.9  URL=http://mirrors.dedipower.com/opera/linux/
    1.10  
    1.11  ROOT="$1"
    1.12 @@ -101,10 +103,10 @@
    1.13  cat > $PACKAGE-$VERSION/receipt <<EOT
    1.14  PACKAGE="$PACKAGE"
    1.15  VERSION="$VERSION"
    1.16 -CATEGORY="non-free"
    1.17 +CATEGORY="$CATEGORY"
    1.18  SHORT_DESC="$SHORT_DESC"
    1.19  MAINTAINER="$MAINTAINER"
    1.20 -DEPENDS="libQtGui"
    1.21 +DEPENDS="$DEPENDS"
    1.22  WEB_SITE="$WEB_SITE"
    1.23  EOT
    1.24  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/python-pyexiv2/receipt	Tue Sep 04 16:32:08 2012 +0200
     2.3 @@ -0,0 +1,37 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="python-pyexiv2"
     2.7 +VERSION="0.3.2"
     2.8 +SOURCE="pyexiv2"
     2.9 +CATEGORY="development"
    2.10 +SHORT_DESC="Python binding for manipulation of EXIF, IPTC and XMP metadata."
    2.11 +MAINTAINER="pascal.bellard@slitaz.org"
    2.12 +WEB_SITE="http://tilloy.net/dev/pyexiv2/"
    2.13 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    2.14 +WGET_URL="http://launchpad.net/$SOURCE/${VERSION%?}x/$VERSION/+download/$TARBALL"
    2.15 +
    2.16 +DEPENDS="python"
    2.17 +BUILD_DEPENDS="python wget scons"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	cd $src
    2.23 +	scons PREFIX=/usr
    2.24 +	scons -k DESTDIR=$DESTDIR install
    2.25 +return 1
    2.26 +	#./autogen.sh
    2.27 +	./configure \
    2.28 +		--prefix=/usr \
    2.29 +		$CONFIGURE_ARGS &&
    2.30 +	make &&
    2.31 +	make DESTDIR=$DESTDIR install
    2.32 +echo $?
    2.33 +return 1
    2.34 +}
    2.35 +
    2.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.37 +genpkg_rules()
    2.38 +{
    2.39 +	cp -a $install/usr $fs
    2.40 +}