wok-stable view libgphoto2/receipt @ rev 3380
Add: OpenERP Web client
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 12 02:26:28 2009 +0200 (2009-06-12) |
parents | |
children | 1eb70625402e |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgphoto2"
4 VERSION="2.4.5"
5 CATEGORY="graphics"
6 SHORT_DESC="core library of gphoto2 to access photos from digital camera"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="libexif jpeg libusb libusb-compat"
9 BUILD_DEPENDS="jpeg-dev libexif-dev libtool libexif jpeg libusb libusb-dev libusb-compat libusb-compat-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 --with-exif --disable-static &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
32 cp -a $_pkg/usr/lib/${PACKAGE}_port $fs/usr/lib
33 cp -a $_pkg/usr/lib/udev $fs/usr/lib
34 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
37 }