wok-current rev 3039

Add aaphoto (cli photo adjustment)
author Rohit Joshi <jozee@slitaz.org>
date Tue May 12 13:19:07 2009 +0000 (2009-05-12)
parents 2a6da55840f5
children 871f410b9adc
files aaphoto/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/aaphoto/receipt	Tue May 12 13:19:07 2009 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="aaphoto"
     1.7 +VERSION="0.30"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="automatic photo adjusting"
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +DEPENDS="jasper jpeg libpng zlib"
    1.12 +BUILD_DEPENDS="jpeg-dev jasper-dev libpng-dev zlib-dev"
    1.13 +SOURCES="aaphoto_sources_v"
    1.14 +TARBALL="$SOURCES$VERSION.tar.gz"
    1.15 +WEB_SITE="http://log69.com/aaphoto_en.html" 
    1.16 +WGET_URL="http://log69.com/downloads/$TARBALL"
    1.17 +TAGS="jpeg jpg photo png bmp"
    1.18 +
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +   	cd $WOK/$PACKAGE/${PACKAGE}-v$VERSION
    1.24 +	./configure --prefix=/usr &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +	
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +    mkdir -p $fs/usr/bin
    1.34 +	_pkg=$WOK/$PACKAGE/${PACKAGE}-v$VERSION/_pkg
    1.35 +	cp -a $_pkg/usr/bin $fs/usr
    1.36 +	
    1.37 +}