wok diff libgphoto2/receipt @ rev 3332

Add: ORBit2
author Matthew Sheets <rcx@zoominternet.net>
date Wed Jun 10 10:53:26 2009 +0000 (2009-06-10)
parents
children 1eb70625402e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libgphoto2/receipt	Wed Jun 10 10:53:26 2009 +0000
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libgphoto2"
     1.7 +VERSION="2.4.5"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="core library of gphoto2 to access photos from digital camera"
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +DEPENDS="libexif jpeg libusb libusb-compat"
    1.12 +BUILD_DEPENDS="jpeg-dev libexif-dev libtool libexif jpeg libusb libusb-dev libusb-compat libusb-compat-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.gphoto.org" 
    1.15 +WGET_URL="$SF_MIRROR/gphoto/$TARBALL"
    1.16 +TAGS="camera photo"
    1.17 +
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +   	cd $src
    1.23 +	./configure --prefix=/usr --with-exif --disable-static &&
    1.24 +	make &&
    1.25 +	make DESTDIR=$PWD/_pkg install
    1.26 +	
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +    mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share
    1.33 +	cp -a $_pkg/usr/bin $fs/usr
    1.34 +	cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
    1.35 +	cp -a $_pkg/usr/lib/${PACKAGE}_port $fs/usr/lib
    1.36 +	cp -a $_pkg/usr/lib/udev $fs/usr/lib
    1.37 +	cp -a $_pkg/usr/lib/*so* $fs/usr/lib
    1.38 +	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    1.39 +	
    1.40 +}