# HG changeset patch # User Rohit Joshi # Date 1242147589 0 # Node ID 572390af7b05c834086187ad3f6294016b211564 # Parent b48f4163ea002bb193cdee5828ed5d44bf582947 Add gphoto diff -r b48f4163ea00 -r 572390af7b05 gphoto2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gphoto2/receipt Tue May 12 16:59:49 2009 +0000 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="gphoto2" +VERSION="2.4.5" +CATEGORY="graphics" +SHORT_DESC="digital camera download and access program" +MAINTAINER="jozee@slitaz.org" +DEPENDS="libexif jpeg libgphoto2 readline popt" +BUILD_DEPENDS="jpeg-dev libexif-dev libgphoto2-dev readline readline-dev popt-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.gphoto.org" +WGET_URL="$SF_MIRROR/gphoto/$TARBALL" +TAGS="camera photo" + + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr && + make && + make prefix=$PWD/_pkg/usr install + +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + +}