summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-06-06 08:46:21 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-06-06 08:46:21 +0000
commita00fe95fd10787e47a3227ffa0e78e03851a43fd (patch)
treec08c13986af6fcf555ad9e2f3aec19b1a45594ff /dev-libs
parentstable on ppc64 (diff)
downloadhistorical-a00fe95fd10787e47a3227ffa0e78e03851a43fd.tar.gz
historical-a00fe95fd10787e47a3227ffa0e78e03851a43fd.tar.bz2
historical-a00fe95fd10787e47a3227ffa0e78e03851a43fd.zip
New vesion using Debian's patches. Will be used by Gentoo/FreeBSD to provide strndup and other functions glibc-specific.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/publib/ChangeLog11
-rw-r--r--dev-libs/publib/Manifest15
-rw-r--r--dev-libs/publib/files/digest-publib-0.38.22
-rw-r--r--dev-libs/publib/metadata.xml9
-rw-r--r--dev-libs/publib/publib-0.38.2.ebuild60
5 files changed, 94 insertions, 3 deletions
diff --git a/dev-libs/publib/ChangeLog b/dev-libs/publib/ChangeLog
index 7e4f87272a5f..53a7c2aaad36 100644
--- a/dev-libs/publib/ChangeLog
+++ b/dev-libs/publib/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/publib
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/publib/ChangeLog,v 1.6 2004/07/02 04:54:54 eradicator Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/publib/ChangeLog,v 1.7 2005/06/06 08:46:21 flameeyes Exp $
+
+*publib-0.38.2 (06 Jun 2005)
+
+ 06 Jun 2005; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml,
+ +publib-0.38.2.ebuild:
+ New vesion using Debian's patches. Will be used by Gentoo/FreeBSD to provide
+ strndup and other functions glibc-specific.
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> publib-0.31.ebuild:
virtual/glibc -> virtual/libc
diff --git a/dev-libs/publib/Manifest b/dev-libs/publib/Manifest
index 7c3ffb37cb28..ec5dc8170ce7 100644
--- a/dev-libs/publib/Manifest
+++ b/dev-libs/publib/Manifest
@@ -1,3 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 489170372c2d27ac5d3970612d000213 ChangeLog 1614
MD5 5697e0977abfa463066ef3835193c341 publib-0.31.ebuild 1295
-MD5 c1378c282f13317751ecc20b0c080ea1 ChangeLog 1366
+MD5 e186be4ee35d8ab6e55ac6d630e200de publib-0.38.2.ebuild 1608
+MD5 0faafb3665d09b8e2b0fc2a0cbc29c2a metadata.xml 247
MD5 520a52a67a4ded579319584f1fcf9046 files/digest-publib-0.31 63
+MD5 047c8cf89ab3ca02545fc8fc7d651e1b files/digest-publib-0.38.2 132
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCpAxOj5H05b2HAEkRAgWaAKCa4beU08gA8x7N+RUQZ3EBd9RFAwCdFEwv
+qFKVFbfhTnWpby3j+KlMO6k=
+=Btjt
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/publib/files/digest-publib-0.38.2 b/dev-libs/publib/files/digest-publib-0.38.2
new file mode 100644
index 000000000000..498784bb3d31
--- /dev/null
+++ b/dev-libs/publib/files/digest-publib-0.38.2
@@ -0,0 +1,2 @@
+MD5 4808100c4c96ef4cb606211d770c67fa publib_0.38.orig.tar.gz 166325
+MD5 0fb0fbd7211e2d8c835181a9c6ab8d28 publib_0.38-2.diff.gz 4172
diff --git a/dev-libs/publib/metadata.xml b/dev-libs/publib/metadata.xml
new file mode 100644
index 000000000000..57e1b5f13356
--- /dev/null
+++ b/dev-libs/publib/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>bsd</herd>
+<maintainer>
+<email>flameeyes@gentoo.org</email>
+<name>Diego Pettenò</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-libs/publib/publib-0.38.2.ebuild b/dev-libs/publib/publib-0.38.2.ebuild
new file mode 100644
index 000000000000..b84e10dbb47c
--- /dev/null
+++ b/dev-libs/publib/publib-0.38.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/publib/publib-0.38.2.ebuild,v 1.1 2005/06/06 08:46:21 flameeyes Exp $
+
+inherit versionator eutils
+
+MY_P="${PN}-$(get_version_component_range 1-2)"
+DEBIAN_SOURCE="${PN}_$(get_version_component_range 1-2).orig.tar.gz"
+DEBIAN_PATCH="${PN}_$(replace_version_separator 2 '-').diff.gz"
+
+DESCRIPTION="C library of misc utility functions (parsing, data structs, etc.)"
+SRC_URI="mirror://debian/pool/main/p/publib/${DEBIAN_SOURCE}
+ mirror://debian/pool/main/p/publib/${DEBIAN_PATCH}"
+HOMEPAGE="http://packages.debian.org/testing/libdevel/publib-dev"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}
+
+ epatch ${WORKDIR}/${DEBIAN_PATCH/.gz/}
+
+ mkdir objs
+}
+
+src_compile() {
+ cd objs
+
+ ECONF_SOURCE="../framework" \
+ econf \
+ --with-modules=${S}/liw \
+ --with-library=publib \
+ --with-libshort=pub || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ # install extra docs
+ dodoc Changes framework/README framework/COPYING framework/TODO
+ dodoc framework/Blurb debian/changelog
+
+ # main install
+ cd objs
+ dodir /usr/share/man/mano /usr/$(get_libdir) /usr/include/publib
+
+ make prefix=${D}/usr man3ext=o man3dir=${D}/usr/share/man/mano \
+ libdir=${D}/usr/$(get_libdir) install || die "make install failed"
+
+ # adjust man page titles to fit the "o" set above (instead of "3")
+ sed -i -e 's/^\(\.TH [A-Z0-9]* \)3/\1o/' ${D}/usr/share/man/mano/*
+}