wok-6.x annotate gphoto2/receipt @ rev 10286
glib: use native i486 toolchain (will have to fix later, we need on tank since it a huge bdeps)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 22 00:21:11 2011 +0200 (2011-05-22) |
parents | 0fc993bb788f |
children | 548289ed8634 |
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@9926 | 8 DEPENDS="libexif jpeg libgphoto2 readline popt libltdl ncurses" |
slaxemulator@6214 | 9 BUILD_DEPENDS="jpeg-dev libexif-dev libgphoto2 libgphoto2-dev readline readline-dev popt popt-dev" |
slaxemulator@7284 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
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 # Rules to configure and make the package. |
jozee@3042 | 16 compile_rules() |
jozee@3042 | 17 { |
jozee@3042 | 18 cd $src |
slaxemulator@9848 | 19 ./configure && make && make install |
jozee@3042 | 20 } |
jozee@3042 | 21 |
jozee@3042 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3042 | 23 genpkg_rules() |
jozee@3042 | 24 { |
slaxemulator@7284 | 25 mkdir -p $fs/usr/share |
jozee@3042 | 26 cp -a $_pkg/usr/bin $fs/usr |
jozee@3042 | 27 } |