summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-04-21 19:11:56 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-04-21 19:11:56 +0000
commit24e8475af3d7900c33ecd9267b3ddae31e56da56 (patch)
tree3bb0f9cdba3f27b7df22558e9a99193b7f0c1b28 /dev-libs/yaz++
parentamd64 stable, security bug #213762 (diff)
downloadhistorical-24e8475af3d7900c33ecd9267b3ddae31e56da56.tar.gz
historical-24e8475af3d7900c33ecd9267b3ddae31e56da56.tar.bz2
historical-24e8475af3d7900c33ecd9267b3ddae31e56da56.zip
Version bump for bug 193863, thanks to Kent Fredric for reporting and Jakub Moc for ebuild.
Package-Manager: portage-2.1.5_rc5
Diffstat (limited to 'dev-libs/yaz++')
-rw-r--r--dev-libs/yaz++/ChangeLog10
-rw-r--r--dev-libs/yaz++/yaz++-1.1.0.ebuild43
2 files changed, 51 insertions, 2 deletions
diff --git a/dev-libs/yaz++/ChangeLog b/dev-libs/yaz++/ChangeLog
index cfda379fe0b0..e6e7471c4e21 100644
--- a/dev-libs/yaz++/ChangeLog
+++ b/dev-libs/yaz++/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/yaz++
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/yaz++/ChangeLog,v 1.5 2007/02/09 02:42:01 flameeyes Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/yaz++/ChangeLog,v 1.6 2008/04/21 19:11:56 drac Exp $
+
+*yaz++-1.1.0 (21 Apr 2008)
+
+ 21 Apr 2008; Samuli Suominen <drac@gentoo.org> +yaz++-1.1.0.ebuild:
+ Version bump for bug 193863, thanks to Kent Fredric for reporting and
+ Jakub Moc for ebuild.
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/dev-libs/yaz++/yaz++-1.1.0.ebuild b/dev-libs/yaz++/yaz++-1.1.0.ebuild
new file mode 100644
index 000000000000..58d191444236
--- /dev/null
+++ b/dev-libs/yaz++/yaz++-1.1.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/yaz++/yaz++-1.1.0.ebuild,v 1.1 2008/04/21 19:11:56 drac Exp $
+
+inherit eutils autotools flag-o-matic
+
+MY_PN=${PN/++/pp}
+
+DESCRIPTION="C++ addon for the yaz development libraries"
+HOMEPAGE="http://www.indexdata.dk/yazplusplus"
+SRC_URI="http://ftp.indexdata.dk/pub/${PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=dev-libs/yaz-3.0.26"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ eautoreconf
+}
+
+src_compile() {
+ append-ldflags -Wl,--no-as-needed # FIXME.
+ econf
+ emake || die "emake failed"
+}
+
+src_install() {
+ docdir="/usr/share/doc/${PF}"
+ emake DESTDIR="${D}" docdir="${docdir}" install || die "install failed"
+
+ dodoc ChangeLog NEWS README TODO
+ docinto html
+ mv -f "${D}"/${docdir}/*.html "${D}"/${docdir}/html/ || die "Failed to move HTML docs"
+ mv -f "${D}"/usr/share/doc/${MY_PN}/common "${D}"/${docdir}/html/ || die "Failed to move HTML docs"
+ rm -rf "${D}"/usr/share/doc/${MY_PN}
+}