wok annotate gphoto2/receipt @ rev 11573
Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:18 2012 +0100 (2012-01-02) |
parents | 548289ed8634 |
children | d1c17bd2c2bc |
rev | line source |
---|---|
jozee@3042 | 1 # SliTaz package receipt. |
jozee@3042 | 2 |
jozee@3042 | 3 PACKAGE="gphoto2" |
slaxemulator@9848 | 4 VERSION="2.4.11" |
jozee@3042 | 5 CATEGORY="graphics" |
jozee@3042 | 6 SHORT_DESC="digital camera download and access program" |
jozee@3042 | 7 MAINTAINER="jozee@slitaz.org" |
slaxemulator@7284 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@3042 | 9 WEB_SITE="http://www.gphoto.org" |
jozee@3042 | 10 WGET_URL="$SF_MIRROR/gphoto/$TARBALL" |
jozee@3042 | 11 TAGS="camera photo" |
jozee@3042 | 12 |
erjo@10678 | 13 DEPENDS="libexif jpeg libgphoto2 readline popt libltdl ncurses" |
erjo@10678 | 14 BUILD_DEPENDS="jpeg-dev libgphoto2-dev readline readline-dev popt popt-dev" |
erjo@10678 | 15 |
jozee@3042 | 16 # Rules to configure and make the package. |
jozee@3042 | 17 compile_rules() |
jozee@3042 | 18 { |
jozee@3042 | 19 cd $src |
gokhlayeh@11573 | 20 ./configure $CONFIGURE_ARGS && make && make install |
jozee@3042 | 21 } |
jozee@3042 | 22 |
jozee@3042 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3042 | 24 genpkg_rules() |
jozee@3042 | 25 { |
slaxemulator@7284 | 26 mkdir -p $fs/usr/share |
jozee@3042 | 27 cp -a $_pkg/usr/bin $fs/usr |
jozee@3042 | 28 } |