diff options
-rw-r--r-- | sci-libs/libpdb/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/libpdb/files/991112-dynlib.patch | 12 | ||||
-rw-r--r-- | sci-libs/libpdb/libpdb-991112.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..e99b07f4a552 --- /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:42:38 jlec Exp $ + +*libpdb-991112 (07 Mar 2010) + + 07 Mar 2010; Justin Lecher (jlec) <jlec@gentoo.org> + +files/991112-dynlib.patch, +libpdb-991112.ebuild, +metadata.xml: + New ebuild to handle pdb files + diff --git a/sci-libs/libpdb/files/991112-dynlib.patch b/sci-libs/libpdb/files/991112-dynlib.patch new file mode 100644 index 000000000000..d3e25ce5281c --- /dev/null +++ b/sci-libs/libpdb/files/991112-dynlib.patch @@ -0,0 +1,12 @@ +diff --git a/Makefile b/Makefile +index 760a427..da2f62d 100644 +--- a/Makefile ++++ b/Makefile +@@ -29,6 +29,7 @@ install: $(LIBARCH) + + $(LIBARCH): $(OBJS) + @echo "Loading $(LIBARCH) ... " ++ $(CC) $(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-991112.ebuild b/sci-libs/libpdb/libpdb-991112.ebuild new file mode 100644 index 000000000000..9c3178692b11 --- /dev/null +++ b/sci-libs/libpdb/libpdb-991112.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-991112.ebuild,v 1.1 2010/03/07 10:42:38 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 \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS} -fPIC" \ + ${PN}.a || 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> |