summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-08-15 10:41:17 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-08-15 10:41:17 +0000
commit635ed01db157da3d74e2d2baffeb8161a660af7d (patch)
treec26eb7910f01a2ccebc8d7aa90f2ff852c3b9057 /media-libs/libptp2
parentFixed a link-error on PowerPC. (diff)
downloadhistorical-635ed01db157da3d74e2d2baffeb8161a660af7d.tar.gz
historical-635ed01db157da3d74e2d2baffeb8161a660af7d.tar.bz2
historical-635ed01db157da3d74e2d2baffeb8161a660af7d.zip
Initial import. Ebuild by Enrico Morelli <morelli@cerm.unifi.it> #52956.
Diffstat (limited to 'media-libs/libptp2')
-rw-r--r--media-libs/libptp2/ChangeLog11
-rw-r--r--media-libs/libptp2/Manifest14
-rw-r--r--media-libs/libptp2/files/digest-libptp2-1.0.11
-rw-r--r--media-libs/libptp2/libptp2-1.0.1.ebuild30
-rw-r--r--media-libs/libptp2/metadata.xml12
5 files changed, 68 insertions, 0 deletions
diff --git a/media-libs/libptp2/ChangeLog b/media-libs/libptp2/ChangeLog
new file mode 100644
index 000000000000..5607fb9b5112
--- /dev/null
+++ b/media-libs/libptp2/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-libs/libptp2
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libptp2/ChangeLog,v 1.1 2004/08/15 10:41:17 dragonheart Exp $
+
+*libptp2-1.0.1 (15 Aug 2004)
+
+ 15 Aug 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
+ +libptp2-1.0.1.ebuild:
+ Initial import. Ebuild by Enrico Morelli <morelli@cerm.unifi.it> in bug
+ #52956. Currently parallel make fails. Bug lodged upstream
+
diff --git a/media-libs/libptp2/Manifest b/media-libs/libptp2/Manifest
new file mode 100644
index 000000000000..2c661d709e22
--- /dev/null
+++ b/media-libs/libptp2/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 6d796b061ed1c1337ef157a5f74dab35 metadata.xml 403
+MD5 6278745bd6b8b5fd0be41b1074fafbef libptp2-1.0.1.ebuild 903
+MD5 d1047a09d63882c6dec261b0e68ff49e ChangeLog 473
+MD5 20edc79b41d07fe8e2db6a2448c7e2cf files/digest-libptp2-1.0.1 65
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.4 (GNU/Linux)
+
+iD8DBQFBHy9PmdTrptrqvGERAvKaAKCFrSgcx1A9YXb39PHAKXiBjGCEZACgm2p5
+wjcsRCcxssnZlfga1YTwFN0=
+=xFrX
+-----END PGP SIGNATURE-----
diff --git a/media-libs/libptp2/files/digest-libptp2-1.0.1 b/media-libs/libptp2/files/digest-libptp2-1.0.1
new file mode 100644
index 000000000000..037a67fee084
--- /dev/null
+++ b/media-libs/libptp2/files/digest-libptp2-1.0.1
@@ -0,0 +1 @@
+MD5 554c7e9b568f06a43d3af69da5e0103c libptp2-1.0.1.tar.gz 347569
diff --git a/media-libs/libptp2/libptp2-1.0.1.ebuild b/media-libs/libptp2/libptp2-1.0.1.ebuild
new file mode 100644
index 000000000000..5b0107cba63e
--- /dev/null
+++ b/media-libs/libptp2/libptp2-1.0.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libptp2/libptp2-1.0.1.ebuild,v 1.1 2004/08/15 10:41:17 dragonheart Exp $
+
+DESCRIPTION="Library communicating with PTP enabled devices (digital photo cameras and so on)."
+HOMEPAGE="http://sourceforge.net/projects/libptp/"
+SRC_URI="mirror://sourceforge/libptp/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+RDEPEND="dev-libs/libusb"
+DEPEND="${RDEPEND}
+ sys-apps/gawk
+ sys-apps/grep"
+
+src_compile() {
+ econf || die "failed to configure"
+ # Parallel make fails -
+ # https://sourceforge.net/tracker/index.php?func=detail&aid=1009488&group_id=40071&atid=426963
+ emake -j1 || die "failed to make"
+}
+
+src_test() {
+ env LD_LIBRARY_PATH=./usr/lib/ ./usr/bin/ptpcam -l || die "failed test"
+}
+
+src_install() {
+ emake install DESTDIR=${D} || die
+}
diff --git a/media-libs/libptp2/metadata.xml b/media-libs/libptp2/metadata.xml
new file mode 100644
index 000000000000..b9fc2b9c6f11
--- /dev/null
+++ b/media-libs/libptp2/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>dragonheart@gentoo.org</email>
+ <name>Daniel Black</name>
+ <description>A user ebuild that I felt obliged to include. Please take over if you want
+it</description>
+</maintainer>
+<longdescription></longdescription>
+</pkgmetadata>