summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-05-31 10:41:26 +0000
committerRoy Marples <uberlord@gentoo.org>2007-05-31 10:41:26 +0000
commit987e746b188215b9861cd1f415b634eef1c2ea71 (patch)
treef90175c8d219fe116164ee8d20f09d59e0a083ab /media-libs/libexif
parentstable x86, security bug 177604 (diff)
downloadgentoo-2-987e746b188215b9861cd1f415b634eef1c2ea71.tar.gz
gentoo-2-987e746b188215b9861cd1f415b634eef1c2ea71.tar.bz2
gentoo-2-987e746b188215b9861cd1f415b634eef1c2ea71.zip
Dropping elibtoolize makes FreeBSD users cry.
(Portage version: 2.1.2.9)
Diffstat (limited to 'media-libs/libexif')
-rw-r--r--media-libs/libexif/ChangeLog7
-rw-r--r--media-libs/libexif/files/digest-libexif-0.6.15-r13
-rw-r--r--media-libs/libexif/libexif-0.6.15-r1.ebuild54
3 files changed, 63 insertions, 1 deletions
diff --git a/media-libs/libexif/ChangeLog b/media-libs/libexif/ChangeLog
index 08b609dc5620..e0360f9f0056 100644
--- a/media-libs/libexif/ChangeLog
+++ b/media-libs/libexif/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libexif
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/ChangeLog,v 1.74 2007/05/30 20:24:27 welp Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/ChangeLog,v 1.75 2007/05/31 10:41:26 uberlord Exp $
+
+*libexif-0.6.15-r1 (31 May 2007)
+
+ 31 May 2007; Roy Marples <uberlord@gentoo.org> +libexif-0.6.15-r1.ebuild:
+ Dropping elibtoolize makes FreeBSD users cry.
30 May 2007; Peter Weller <welp@gentoo.org> libexif-0.6.15.ebuild:
Stable on amd64 wrt bug 178081
diff --git a/media-libs/libexif/files/digest-libexif-0.6.15-r1 b/media-libs/libexif/files/digest-libexif-0.6.15-r1
new file mode 100644
index 000000000000..2bb70ba68fd7
--- /dev/null
+++ b/media-libs/libexif/files/digest-libexif-0.6.15-r1
@@ -0,0 +1,3 @@
+MD5 58871e364c454d107eee001456cc8f24 libexif-0.6.15.tar.bz2 677568
+RMD160 620e36aa418a38de299720d044706b8051a50581 libexif-0.6.15.tar.bz2 677568
+SHA256 2dba37302c34175025515a4caa182bd40c289af83cc067e525ac3de162ac8811 libexif-0.6.15.tar.bz2 677568
diff --git a/media-libs/libexif/libexif-0.6.15-r1.ebuild b/media-libs/libexif/libexif-0.6.15-r1.ebuild
new file mode 100644
index 000000000000..21cb67b16d7f
--- /dev/null
+++ b/media-libs/libexif/libexif-0.6.15-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/libexif-0.6.15-r1.ebuild,v 1.1 2007/05/31 10:41:26 uberlord Exp $
+
+inherit eutils libtool
+
+DESCRIPTION="Library for parsing, editing, and saving EXIF data"
+HOMEPAGE="http://libexif.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="doc nls"
+
+DEPEND="dev-util/pkgconfig
+ doc? ( app-doc/doxygen )
+ nls? ( sys-devel/gettext )"
+
+RDEPEND="nls? ( virtual/libintl )"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-0.6.13-pkgconfig.patch
+
+ # We do this for sane .so versioning on FreeBSD
+ elibtoolize
+}
+
+src_compile() {
+ local my_conf
+ use doc && my_conf="--with-doc-dir=/usr/share/doc/${PF}"
+ use nls || my_conf="${my_conf} --without-libintl-prefix"
+ econf $(use_enable nls) $(use_enable doc) \
+ --with-pic --disable-rpath ${my_conf} || die
+ emake || die
+}
+
+src_install() {
+ dodir /usr/$(get_libdir)
+ dodir /usr/include/libexif
+ use nls && dodir /usr/share/locale
+ use doc && dodir /usr/share/doc/${PF}
+ dodir /usr/$(get_libdir)/pkgconfig
+
+ make DESTDIR="${D}" install || die
+
+ dodoc ChangeLog README
+
+ # installs a blank directory for whatever broken reason
+ use nls || rm -rf ${D}usr/share/locale
+}