wok annotate gphoto2/receipt @ rev 15149
php: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 13:25:02 2013 +0000 (2013-08-15) |
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 } |