wok-current annotate libgphoto2/receipt @ rev 3157

Up: lemon (3.6.14.1)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 24 18:36:30 2009 +0200 (2009-05-24)
parents
children 1eb70625402e
rev   line source
jozee@3041 1 # SliTaz package receipt.
jozee@3041 2
jozee@3041 3 PACKAGE="libgphoto2"
jozee@3041 4 VERSION="2.4.5"
jozee@3041 5 CATEGORY="graphics"
jozee@3041 6 SHORT_DESC="core library of gphoto2 to access photos from digital camera"
jozee@3041 7 MAINTAINER="jozee@slitaz.org"
jozee@3041 8 DEPENDS="libexif jpeg libusb libusb-compat"
jozee@3041 9 BUILD_DEPENDS="jpeg-dev libexif-dev libtool libexif jpeg libusb libusb-dev libusb-compat libusb-compat-dev"
jozee@3041 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@3041 11 WEB_SITE="http://www.gphoto.org"
jozee@3041 12 WGET_URL="$SF_MIRROR/gphoto/$TARBALL"
jozee@3041 13 TAGS="camera photo"
jozee@3041 14
jozee@3041 15
jozee@3041 16 # Rules to configure and make the package.
jozee@3041 17 compile_rules()
jozee@3041 18 {
jozee@3041 19 cd $src
jozee@3041 20 ./configure --prefix=/usr --with-exif --disable-static &&
jozee@3041 21 make &&
jozee@3041 22 make DESTDIR=$PWD/_pkg install
jozee@3041 23
jozee@3041 24 }
jozee@3041 25
jozee@3041 26 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3041 27 genpkg_rules()
jozee@3041 28 {
jozee@3041 29 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share
jozee@3041 30 cp -a $_pkg/usr/bin $fs/usr
jozee@3041 31 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
jozee@3041 32 cp -a $_pkg/usr/lib/${PACKAGE}_port $fs/usr/lib
jozee@3041 33 cp -a $_pkg/usr/lib/udev $fs/usr/lib
jozee@3041 34 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
jozee@3041 35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
jozee@3041 36
jozee@3041 37 }