summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-04-15 23:06:01 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-04-15 23:06:01 +0000
commit18c4006575dc43dc4b1b2e147ae01b338bac7529 (patch)
tree03cba09f129b93f80132cef14e0600fc0b35e1fa /dev-libs/libp11
parentDelete older ebuilds. (diff)
downloadgentoo-2-18c4006575dc43dc4b1b2e147ae01b338bac7529.tar.gz
gentoo-2-18c4006575dc43dc4b1b2e147ae01b338bac7529.tar.bz2
gentoo-2-18c4006575dc43dc4b1b2e147ae01b338bac7529.zip
Version bump; specify the doc USE flag (and don't tie it to user documentation); disable static archives (requires dynamic linker); remove .la files; run elibtoolize.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libp11')
-rw-r--r--dev-libs/libp11/ChangeLog10
-rw-r--r--dev-libs/libp11/libp11-0.2.8.ebuild55
-rw-r--r--dev-libs/libp11/metadata.xml16
3 files changed, 75 insertions, 6 deletions
diff --git a/dev-libs/libp11/ChangeLog b/dev-libs/libp11/ChangeLog
index 5359e836ec64..11822d95ea46 100644
--- a/dev-libs/libp11/ChangeLog
+++ b/dev-libs/libp11/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-libs/libp11
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libp11/ChangeLog,v 1.54 2011/04/03 22:29:33 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libp11/ChangeLog,v 1.55 2011/04/15 23:06:01 flameeyes Exp $
+
+*libp11-0.2.8 (15 Apr 2011)
+
+ 15 Apr 2011; Diego E. Pettenò <flameeyes@gentoo.org> +libp11-0.2.8.ebuild,
+ metadata.xml:
+ Version bump; specify the doc USE flag (and don't tie it to user
+ documentation); disable static archives (requires dynamic linker); remove .la
+ files; run elibtoolize.
03 Apr 2011; Diego E. Pettenò <flameeyes@gentoo.org> libp11-0.2.7.ebuild:
Add missing runtime dependency over libtool's libltdl (thanks to Darin Petkov
diff --git a/dev-libs/libp11/libp11-0.2.8.ebuild b/dev-libs/libp11/libp11-0.2.8.ebuild
new file mode 100644
index 000000000000..3a2d5cbd7660
--- /dev/null
+++ b/dev-libs/libp11/libp11-0.2.8.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libp11/libp11-0.2.8.ebuild,v 1.1 2011/04/15 23:06:01 flameeyes Exp $
+
+EAPI="4"
+
+DESCRIPTION="A library implementing a layer on top of PKCS#11 API to make using PKCS#11 implementations easier."
+HOMEPAGE="http://www.opensc-project.org/libp11/"
+
+inherit libtool
+
+if [[ "${PV}" = "9999" ]]; then
+ inherit autotools subversion
+ ESVN_REPO_URI="http://www.opensc-project.org/svn/${PN}/trunk"
+else
+ SRC_URI="http://www.opensc-project.org/files/${PN}/${P}.tar.gz"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc"
+
+# libtool is required at runtime as it uses libltdl.
+RDEPEND="dev-libs/openssl
+ sys-devel/libtool"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+if [[ "${PV}" = "9999" ]]; then
+ DEPEND="${DEPEND}
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt"
+fi
+
+src_prepare() {
+ [[ "${PV}" = "9999" ]] && eautoreconf
+
+ elibtoolize
+}
+
+src_configure() {
+ econf \
+ --docdir="/usr/share/doc/${PF}" \
+ --htmldir="/usr/share/doc/${PF}/html" \
+ --enable-shared --disable-static \
+ --enable-doc \
+ $(use_enable doc api-doc)
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "emake install failed"
+ find "${D}" -name '*.la' -delete
+}
diff --git a/dev-libs/libp11/metadata.xml b/dev-libs/libp11/metadata.xml
index 415180248a32..831aab7eae68 100644
--- a/dev-libs/libp11/metadata.xml
+++ b/dev-libs/libp11/metadata.xml
@@ -1,9 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>crypto</herd>
- <longdescription>
- Library implementing a small layer on top of PKCS#11 API to make using
- PKCS#11 implementations easier.
- </longdescription>
+ <herd>crypto</herd>
+ <longdescription>
+ Library implementing a small layer on top of PKCS#11 API to make
+ using PKCS#11 implementations easier.
+ </longdescription>
+
+ <use>
+ <flag name='doc'>
+ Generate and install API documentation for the package.
+ </flag>
+ </use>
</pkgmetadata>