wok annotate aaphoto/receipt @ rev 3930
Update: binutils (toolprefixed binaries with default binutil symlinks; needed for builds expecting toolprefixed binutil binaries when a target platform [e.g. i486-pc-linux-gnu] is specified)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Wed Aug 19 16:02:07 2009 +0000 (2009-08-19) |
parents | 8c3afa509bc2 |
children | 7955791eca55 |
rev | line source |
---|---|
jozee@3039 | 1 # SliTaz package receipt. |
jozee@3039 | 2 |
jozee@3039 | 3 PACKAGE="aaphoto" |
jozee@3039 | 4 VERSION="0.30" |
jozee@3039 | 5 CATEGORY="graphics" |
jozee@3039 | 6 SHORT_DESC="automatic photo adjusting" |
jozee@3039 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@3039 | 8 DEPENDS="jasper jpeg libpng zlib" |
jozee@3039 | 9 BUILD_DEPENDS="jpeg-dev jasper-dev libpng-dev zlib-dev" |
jozee@3039 | 10 SOURCES="aaphoto_sources_v" |
jozee@3039 | 11 TARBALL="$SOURCES$VERSION.tar.gz" |
jozee@3039 | 12 WEB_SITE="http://log69.com/aaphoto_en.html" |
jozee@3039 | 13 WGET_URL="http://log69.com/downloads/$TARBALL" |
jozee@3563 | 14 TAGS="photo jpeg jpg png bmp" |
jozee@3039 | 15 |
jozee@3039 | 16 |
jozee@3039 | 17 # Rules to configure and make the package. |
jozee@3039 | 18 compile_rules() |
jozee@3039 | 19 { |
jozee@3039 | 20 cd $WOK/$PACKAGE/${PACKAGE}-v$VERSION |
jozee@3039 | 21 ./configure --prefix=/usr && |
jozee@3039 | 22 make && |
jozee@3039 | 23 make DESTDIR=$PWD/_pkg install |
jozee@3039 | 24 |
jozee@3039 | 25 } |
jozee@3039 | 26 |
jozee@3039 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3039 | 28 genpkg_rules() |
jozee@3039 | 29 { |
jozee@3039 | 30 mkdir -p $fs/usr/bin |
jozee@3039 | 31 _pkg=$WOK/$PACKAGE/${PACKAGE}-v$VERSION/_pkg |
jozee@3039 | 32 cp -a $_pkg/usr/bin $fs/usr |
jozee@3039 | 33 |
jozee@3039 | 34 } |