Added the new version
authorD.M.D. Ljungmark <spider@gentoo.org>
Wed, 23 Oct 2002 18:42:43 +0000 (18:42 +0000)
committerD.M.D. Ljungmark <spider@gentoo.org>
Wed, 23 Oct 2002 18:42:43 +0000 (18:42 +0000)
media-gfx/gphoto2/ChangeLog
media-gfx/gphoto2/files/digest-gphoto2-2.1.0 [new file with mode: 0644]
media-gfx/gphoto2/gphoto2-2.1.0.ebuild [new file with mode: 0644]

index 92d0db6dad6fd5316fee13dfae7b5f8b7be0215c..cd909174dce8648c0c1188d432ec2eff00c0f1ec 100644 (file)
@@ -1,6 +1,17 @@
 # ChangeLog for media-gfx/gphoto
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v 1.3 2002/10/19 20:25:56 cselkirk Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v 1.4 2002/10/23 18:42:43 spider Exp $
+
+
+*gphoto2-2.1.0 (23 Oct 2002)
+
+  23 Oct 2002 ; Spider <spider@gentoo.org> gphoto2-2.1.0.ebuild :
+  new ebuild introduced to bugzilla by  
+  Robert Davis <rdavis@uniformcompany.com>
+
+
+
+*gphoto2-2.0-r1 (01 April 2002)
 
   19 Oct 2002; Calum Selkirk <cselkirk@gentoo.org> gphoto2-2.0-r1.ebuild :
 
@@ -10,8 +21,6 @@
   Update all glib dependencies to use glib-1.2*  in preparation of
 unmasking the glib-2.0.1 packages
 
-
-*gphoto2-2.0-r1 (01 April 2002)
   01 April 2002; Spider <spider@gentoo.org>
   move to gphoto2
 
diff --git a/media-gfx/gphoto2/files/digest-gphoto2-2.1.0 b/media-gfx/gphoto2/files/digest-gphoto2-2.1.0
new file mode 100644 (file)
index 0000000..3e4d28e
--- /dev/null
@@ -0,0 +1 @@
+MD5 7ea810311ddb2a8f5dfac0e2a720f155 gphoto2-2.1.0.tar.gz 2137982
diff --git a/media-gfx/gphoto2/gphoto2-2.1.0.ebuild b/media-gfx/gphoto2/gphoto2-2.1.0.ebuild
new file mode 100644 (file)
index 0000000..2691748
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/gphoto2-2.1.0.ebuild,v 1.1 2002/10/23 18:42:43 spider Exp $
+
+inherit libtool
+
+MY_P=${PN}-${PV/_/}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="free, redistributable digital camera software application"
+SRC_URI="http://unc.dl.sourceforge.net/sourceforge/gphoto/${MY_P}.tar.gz"
+HOMEPAGE="http://www.gphoto.org/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+
+DEPEND=">=dev-libs/libusb-0.1.6
+       =dev-libs/glib-1.2*
+       >=sys-libs/zlib-1.1.4"
+
+src_compile() {
+
+       elibtoolize
+       aclocal
+
+       # -pipe does no work
+       env CFLAGS="${CFLAGS/-pipe/}" ./configure \
+               --prefix=/usr \
+               --sysconfdir=/etc \
+               || die
+
+       cp libgphoto2/Makefile libgphoto2/Makefile.orig
+       sed -e 's:$(prefix)/doc/gphoto2:/usr/share/doc/${PF}:' \
+               libgphoto2/Makefile.orig >libgphoto2/Makefile
+
+       make || die
+}
+
+src_install() {
+
+       make prefix=${D}/usr \
+               sysconfdir=${D}/etc \
+               gphotodocdir=${D}/usr/share/doc/${PF} \
+               HTML_DIR=${D}/usr/share/doc/${PF}/sgml \
+               install || die
+
+       dodoc ChangeLog NEWS* README
+       rm -rf ${D}/usr/share/doc/${PF}/sgml/gphoto2
+}