diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-03-07 10:42:38 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-03-07 10:42:38 +0000 |
commit | 9b20ae7cea9b4ab11a862e06e8fe089d9a91a3da (patch) | |
tree | 6ba04d4cc945fc8f04ab33a324bb78e2e394b67d /sci-libs/libpdb | |
parent | add descriptions for nginx modules (diff) | |
download | historical-9b20ae7cea9b4ab11a862e06e8fe089d9a91a3da.tar.gz historical-9b20ae7cea9b4ab11a862e06e8fe089d9a91a3da.tar.bz2 historical-9b20ae7cea9b4ab11a862e06e8fe089d9a91a3da.zip |
New ebuild 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/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/libpdb/Manifest | 15 | ||||
-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 |
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..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/Manifest b/sci-libs/libpdb/Manifest new file mode 100644 index 000000000000..52c08703a587 --- /dev/null +++ b/sci-libs/libpdb/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 991112-dynlib.patch 342 RMD160 6f1605efe3450a2f8a9588724be7fec4dee128a3 SHA1 8e030582178de6d5fbc163a9caee0c5aa22dac79 SHA256 4fe0f0017fd8e1f3beff6534ff257bd2b0463f9acbe8b1f2fce3f6237d69007c +DIST libpdb-991112.shar 123895 RMD160 44c8044b88ae980619dd30893a42c69093409350 SHA1 201c8599289e81353c609961350b252cbe841fd7 SHA256 31101a9e6a98a4359241978cb389acc3d0845171209c87e127a7264b21cedcee +EBUILD libpdb-991112.ebuild 1004 RMD160 5a4ef65bf4c0e41d7102fce32a91291af614728c SHA1 219a586b4c23671837eaea7153f932a06ad3417f SHA256 5bddbca65d7c6ed0f6da3a1e6806c28f8e65922a4b9cf3b67a8dd035f4cab4bb +MISC ChangeLog 387 RMD160 ce15380aa4e954f42c749fa4a40c4aa9dc96d30b SHA1 3f05a2b9acf18e02c77536b0842f526a5497fc0e SHA256 7148c906876f53c34ccddd424ee377e674e6db3a60426d42e77817aacedf3d23 +MISC metadata.xml 216 RMD160 04a6fc4e2160b439296b52aa97d5b7d83af75508 SHA1 9561c9e6eada6aac9b503407917900529ce703e9 SHA256 24f5c205c2655ef27138c8aa087701626f5b4c666229c9ef7fe814e63ea2e776 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEYEARECAAYFAkuTgyMACgkQgAnW8HDreRYCjgCeLgHHInBzkGIZs0kfNQaNtGtN +aR8AoL7KEz1hEm2ttZPnOjjWko/aE9Ty +=efgy +-----END PGP SIGNATURE----- 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> |