diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-03-07 10:53:38 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-03-07 10:53:38 +0000 |
commit | fb7d1263293ba0a12cf8eaa29821caeccfa9144e (patch) | |
tree | c41e27711a970452f1650423904c18917a2ec2c3 /sci-libs | |
parent | Simplify src_test(). (diff) | |
download | gentoo-2-fb7d1263293ba0a12cf8eaa29821caeccfa9144e.tar.gz gentoo-2-fb7d1263293ba0a12cf8eaa29821caeccfa9144e.tar.bz2 gentoo-2-fb7d1263293ba0a12cf8eaa29821caeccfa9144e.zip |
C++ lib to handle pdb files
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/libpdb++/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/libpdb++/files/040728-dynlib.patch | 12 | ||||
-rw-r--r-- | sci-libs/libpdb++/libpdb++-040728.ebuild | 46 | ||||
-rw-r--r-- | sci-libs/libpdb++/metadata.xml | 8 |
4 files changed, 76 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++/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> |