wok-stable view libgphoto2/receipt @ rev 3443
Kismet: up to 2009-05-RC2
author | Dominique Corbex <domcox@users.sourceforge.net> |
---|---|
date | Sun Jun 14 12:22:17 2009 +0200 (2009-06-14) |
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 }