summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-03-07 10:53:38 +0000
committerJustin Lecher <jlec@gentoo.org>2010-03-07 10:53:38 +0000
commit53d4359894a94f063f96935fbf491e429a0ba48f (patch)
tree4e1e58cbab0cdc0f1b7429afcab8332107fa61d7 /sci-libs/libpdb++
parentSimplify src_test(). (diff)
downloadhistorical-53d4359894a94f063f96935fbf491e429a0ba48f.tar.gz
historical-53d4359894a94f063f96935fbf491e429a0ba48f.tar.bz2
historical-53d4359894a94f063f96935fbf491e429a0ba48f.zip
C++ lib to handle pdb files
Package-Manager: portage-2.2_rc65/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/libpdb++')
-rw-r--r--sci-libs/libpdb++/ChangeLog10
-rw-r--r--sci-libs/libpdb++/Manifest15
-rw-r--r--sci-libs/libpdb++/files/040728-dynlib.patch12
-rw-r--r--sci-libs/libpdb++/libpdb++-040728.ebuild46
-rw-r--r--sci-libs/libpdb++/metadata.xml8
5 files changed, 91 insertions, 0 deletions
diff --git a/sci-libs/libpdb++/ChangeLog b/sci-libs/libpdb++/ChangeLog
new file mode 100644
index 000000000000..62fc8d3badb6
--- /dev/null
+++ b/sci-libs/libpdb++/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-libs/libpdb++
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libpdb++/ChangeLog,v 1.1 2010/03/07 10:53:37 jlec Exp $
+
+*libpdb++-040728 (07 Mar 2010)
+
+ 07 Mar 2010; Justin Lecher (jlec) <jlec@gentoo.org>
+ +files/040728-dynlib.patch, +libpdb++-040728.ebuild, +metadata.xml:
+ C++ lib to handle pdb files
+
diff --git a/sci-libs/libpdb++/Manifest b/sci-libs/libpdb++/Manifest
new file mode 100644
index 000000000000..26fce6406c9e
--- /dev/null
+++ b/sci-libs/libpdb++/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 040728-dynlib.patch 383 RMD160 812d2ef76200af799c42e364d926cf6fb01ea9ed SHA1 d532cd4ce956f25a35d49a126e0428b8eeab75c9 SHA256 349e1dec76a6e199858e7174b89832447572f39b559a8c7419b209482b04fb69
+DIST libpdb++-040728.shar 113174 RMD160 c7e077de21468b72081c476af1f54d1fc9b7a4ba SHA1 5899659ed201d4ba38a0da0391ee160439da8ec9 SHA256 e37fcaa58e04e64a2a1ae6324c699d320c9d6bf07694e29d6bef63c61dd585e7
+EBUILD libpdb++-040728.ebuild 1026 RMD160 e5f215a6a035e27684c1b810b42abb4265625b07 SHA1 e74140e4e6bd25b827fd8e888a37bb2134abe1e9 SHA256 3f58ea3ba557a1cba2c733d7c607016ff8230a06c3f24a190f558b25be7dd0f6
+MISC ChangeLog 392 RMD160 dfb4b1863f42ecca6ba92838cbd13f6c369ff457 SHA1 a36e4ed8ecfb66bb8d419fbc36902c1dff1d556c SHA256 be698b8ae61e91089ea9bb436f6814dcc9a5e77b88285c265f56a51e370b3f2c
+MISC metadata.xml 216 RMD160 04a6fc4e2160b439296b52aa97d5b7d83af75508 SHA1 9561c9e6eada6aac9b503407917900529ce703e9 SHA256 24f5c205c2655ef27138c8aa087701626f5b4c666229c9ef7fe814e63ea2e776
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkuThbcACgkQgAnW8HDreRasRgCgznVlcaDPo5oSKpio/NZIFSSq
+peQAnA82z8E3+51js/gLetSxR+b/w9Lx
+=i3JL
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/libpdb++/files/040728-dynlib.patch b/sci-libs/libpdb++/files/040728-dynlib.patch
new file mode 100644
index 000000000000..a9792afb52a8
--- /dev/null
+++ b/sci-libs/libpdb++/files/040728-dynlib.patch
@@ -0,0 +1,12 @@
+diff --git a/libpdb++/Makefile b/libpdb++/Makefile
+index bbf0778..286a638 100644
+--- a/libpdb++/Makefile
++++ b/libpdb++/Makefile
+@@ -32,6 +32,7 @@ install: $(LIBARCH)
+
+ $(LIBARCH): $(OBJS)
+ @echo "Loading $(LIBARCH) ... "
++ $(CXX) $(LDFLAGS) -shared -Wl,--soname,libpdb++.so.0 -o libpdb++.so.0.1 $(OBJS)
+ @ar cru $(LIBARCH) $(OBJS)
+ @$(RANLIB) $(LIBARCH)
+ @echo "done"
diff --git a/sci-libs/libpdb++/libpdb++-040728.ebuild b/sci-libs/libpdb++/libpdb++-040728.ebuild
new file mode 100644
index 000000000000..41828def70bf
--- /dev/null
+++ b/sci-libs/libpdb++/libpdb++-040728.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libpdb++/libpdb++-040728.ebuild,v 1.1 2010/03/07 10:53:37 jlec Exp $
+
+EAPI="3"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="PDB Record I/O Libraries -- c version"
+HOMEPAGE="http://www.cgl.ucsf.edu/Overview/software.html"
+SRC_URI="mirror://gentoo/${P}.shar"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="as-is"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ app-arch/sharutils"
+
+S="${WORKDIR}"/${PN}
+
+src_unpack() {
+ "${EPREFIX}"/usr/bin/unshar "${DISTDIR}"/${A} || die
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-dynlib.patch
+}
+
+src_compile() {
+ emake \
+ CXX="$(tc-getCXX)" \
+ CCFLAGS="${CXXFLAGS} -fPIC -felide-constructors" \
+ || die
+}
+
+src_install() {
+ dolib.a ${PN}.a || die
+ dolib.so ${PN}.so.0.1 || die
+ dosym ${PN}.so.0.1 /usr/$(get_libdir)/${PN}.so.0
+ dosym ${PN}.so.0.1 /usr/$(get_libdir)/${PN}.so
+ insinto /usr/include/${PN}
+ doins *.h || die
+}
diff --git a/sci-libs/libpdb++/metadata.xml b/sci-libs/libpdb++/metadata.xml
new file mode 100644
index 000000000000..c6856dc7f2cf
--- /dev/null
+++ b/sci-libs/libpdb++/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+ <email>jlec@gentoo.org</email>
+</maintainer>
+</pkgmetadata>