wok-current view gphoto2/receipt @ rev 9402

git: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 27 16:56:58 2011 +0200 (2011-03-27)
parents 6ce3ad912709
children 0fc993bb788f
line source
1 # SliTaz package receipt.
3 PACKAGE="gphoto2"
4 VERSION="2.4.10"
5 CATEGORY="graphics"
6 SHORT_DESC="digital camera download and access program"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="libexif jpeg libgphoto2 readline popt libtool ncurses"
9 BUILD_DEPENDS="jpeg-dev libexif-dev libgphoto2 libgphoto2-dev readline readline-dev popt popt-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gphoto.org"
12 WGET_URL="$SF_MIRROR/gphoto/$TARBALL"
13 TAGS="camera photo"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr &&
21 make &&
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
31 }