wok-6.x annotate gphoto2/receipt @ rev 5561
hubbub, libnsgif, libparserutils, libsmpeg: cache svn fetched files in SOURCES_REPOSITORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 14 10:47:49 2010 +0200 (2010-05-14) |
parents | 9f19aee613be |
children | 14c207569d2e |
rev | line source |
---|---|
jozee@3042 | 1 # SliTaz package receipt. |
jozee@3042 | 2 |
jozee@3042 | 3 PACKAGE="gphoto2" |
jozee@5021 | 4 VERSION="2.4.8" |
jozee@3042 | 5 CATEGORY="graphics" |
jozee@3042 | 6 SHORT_DESC="digital camera download and access program" |
jozee@3042 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@5001 | 8 DEPENDS="libexif jpeg libgphoto2 readline popt libtool ncurses" |
pascal@3137 | 9 BUILD_DEPENDS="jpeg-dev libexif-dev libgphoto2 libgphoto2-dev readline readline-dev popt-dev" |
jozee@3042 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@3042 | 11 WEB_SITE="http://www.gphoto.org" |
jozee@3042 | 12 WGET_URL="$SF_MIRROR/gphoto/$TARBALL" |
jozee@3042 | 13 TAGS="camera photo" |
jozee@3042 | 14 |
jozee@3042 | 15 |
jozee@3042 | 16 # Rules to configure and make the package. |
jozee@3042 | 17 compile_rules() |
jozee@3042 | 18 { |
jozee@3042 | 19 cd $src |
jozee@3042 | 20 ./configure --prefix=/usr && |
jozee@3042 | 21 make && |
jozee@3042 | 22 make prefix=$PWD/_pkg/usr install |
jozee@3042 | 23 |
jozee@3042 | 24 } |
jozee@3042 | 25 |
jozee@3042 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3042 | 27 genpkg_rules() |
jozee@3042 | 28 { |
jozee@3042 | 29 mkdir -p $fs/usr/share |
jozee@3042 | 30 cp -a $_pkg/usr/bin $fs/usr |
jozee@3042 | 31 |
jozee@3042 | 32 } |