summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-03-24 20:17:49 +0000
committerTim Harder <radhermit@gentoo.org>2011-03-24 20:17:49 +0000
commit6651af30f360cf80dbd80bb9828202ed8430e228 (patch)
tree0a604d9e43ea907907c4f7301c9981ac3bf962d7 /media-libs/libzen
parentAdded missing DEPEND on sys-apps/ed, #360187 (diff)
downloadgentoo-2-6651af30f360cf80dbd80bb9828202ed8430e228.tar.gz
gentoo-2-6651af30f360cf80dbd80bb9828202ed8430e228.tar.bz2
gentoo-2-6651af30f360cf80dbd80bb9828202ed8430e228.zip
Version bump.
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libzen')
-rw-r--r--media-libs/libzen/ChangeLog7
-rw-r--r--media-libs/libzen/libzen-0.4.19.ebuild60
2 files changed, 66 insertions, 1 deletions
diff --git a/media-libs/libzen/ChangeLog b/media-libs/libzen/ChangeLog
index 44fb3bc9bd15..dd97f2b4c52c 100644
--- a/media-libs/libzen/ChangeLog
+++ b/media-libs/libzen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libzen
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libzen/ChangeLog,v 1.10 2011/03/24 08:48:40 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libzen/ChangeLog,v 1.11 2011/03/24 20:17:49 radhermit Exp $
+
+*libzen-0.4.19 (24 Mar 2011)
+
+ 24 Mar 2011; Tim Harder <radhermit@gentoo.org> +libzen-0.4.19.ebuild:
+ Version bump.
24 Mar 2011; Thomas Kahle <tomka@gentoo.org> libzen-0.4.17.ebuild:
x86 stable per bug 357575
diff --git a/media-libs/libzen/libzen-0.4.19.ebuild b/media-libs/libzen/libzen-0.4.19.ebuild
new file mode 100644
index 000000000000..1948e141a7ea
--- /dev/null
+++ b/media-libs/libzen/libzen-0.4.19.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libzen/libzen-0.4.19.ebuild,v 1.1 2011/03/24 20:17:49 radhermit Exp $
+
+EAPI="4"
+
+inherit autotools-utils multilib
+
+MY_PN="ZenLib"
+DESCRIPTION="Shared library for libmediainfo and mediainfo"
+HOMEPAGE="http://sourceforge.net/projects/zenlib"
+SRC_URI="mirror://sourceforge/zenlib/${MY_PN}%20-%20Sources/${PV}/${PN}_${PV}.tar.bz2"
+
+LICENSE="as-is ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc static-libs"
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+S="${WORKDIR}/${MY_PN}/Project/GNU/Library"
+
+src_prepare() {
+ sed -i -e "s:-O2::" configure.ac
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=( --enable-unicode )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+ if use doc; then
+ cd "${WORKDIR}"/${MY_PN}/Source/Doc
+ doxygen Doxyfile || die
+ fi
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins "${AUTOTOOLS_BUILD_DIR}"/${PN}.pc
+
+ for x in ./ Base64 Format/Html Format/Http HTTP_Client TinyXml; do
+ insinto /usr/include/${MY_PN}/${x}
+ doins "${WORKDIR}"/${MY_PN}/Source/${MY_PN}/${x}/*.h
+ done
+
+ dodoc "${WORKDIR}"/${MY_PN}/*.txt
+ if use doc; then
+ dohtml "${WORKDIR}"/${MY_PN}/Doc/*
+ fi
+}