wok diff gphoto2/receipt @ rev 3042

Add gphoto
author Rohit Joshi <jozee@slitaz.org>
date Tue May 12 16:59:49 2009 +0000 (2009-05-12)
parents
children 332af4458b83
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gphoto2/receipt	Tue May 12 16:59:49 2009 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gphoto2"
     1.7 +VERSION="2.4.5"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="digital camera download and access program"
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +DEPENDS="libexif jpeg libgphoto2 readline popt"
    1.12 +BUILD_DEPENDS="jpeg-dev libexif-dev libgphoto2-dev readline readline-dev popt-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 &&
    1.24 +	make &&
    1.25 +	make prefix=$PWD/_pkg/usr 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/share
    1.33 +	cp -a $_pkg/usr/bin $fs/usr
    1.34 +	
    1.35 +}