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
commita71f680c72ee673a2cdc85534d2560954c99ad3e (patch)
tree23e6d4c59ee263c102fe000edb640c180cef243a /media-libs/libptp2
parentFixed a link-error on PowerPC. (Manifest recommit) (diff)
downloadgentoo-2-a71f680c72ee673a2cdc85534d2560954c99ad3e.tar.gz
gentoo-2-a71f680c72ee673a2cdc85534d2560954c99ad3e.tar.bz2
gentoo-2-a71f680c72ee673a2cdc85534d2560954c99ad3e.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/Manifest3
-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, 57 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..4c2ff0d1b330
--- /dev/null
+++ b/media-libs/libptp2/Manifest
@@ -0,0 +1,3 @@
+MD5 6d796b061ed1c1337ef157a5f74dab35 metadata.xml 403
+MD5 a9388815867b25536157b943f4abdbe4 libptp2-1.0.1.ebuild 581
+MD5 20edc79b41d07fe8e2db6a2448c7e2cf files/digest-libptp2-1.0.1 65
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>