diff options
author | Michael Stewart <vericgar@gentoo.org> | 2005-01-09 00:15:08 +0000 |
---|---|---|
committer | Michael Stewart <vericgar@gentoo.org> | 2005-01-09 00:15:08 +0000 |
commit | e846c53be0a0de26273cb76a8e1cfcc9f4526f46 (patch) | |
tree | d9b3fdf06ef0686f44edbcc415abccc6413adff1 /dev-libs/apr-util | |
parent | Apache herd package refresh (Manifest recommit) (diff) | |
download | gentoo-2-e846c53be0a0de26273cb76a8e1cfcc9f4526f46.tar.gz gentoo-2-e846c53be0a0de26273cb76a8e1cfcc9f4526f46.tar.bz2 gentoo-2-e846c53be0a0de26273cb76a8e1cfcc9f4526f46.zip |
Apache herd package refresh, apr now split into it's own package
Diffstat (limited to 'dev-libs/apr-util')
-rw-r--r-- | dev-libs/apr-util/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/apr-util/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/apr-util/apr-util-0.9.5.ebuild | 68 | ||||
-rw-r--r-- | dev-libs/apr-util/files/digest-apr-util-0.9.5 | 1 | ||||
-rw-r--r-- | dev-libs/apr-util/metadata.xml | 8 |
5 files changed, 91 insertions, 0 deletions
diff --git a/dev-libs/apr-util/ChangeLog b/dev-libs/apr-util/ChangeLog new file mode 100644 index 000000000000..7a349c890afe --- /dev/null +++ b/dev-libs/apr-util/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/apr-util +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.1 2005/01/09 00:15:08 vericgar Exp $ + +*apr-util-0.9.5 (08 Jan 2005) + + 08 Jan 2005; Michael Stewart <vericgar@gentoo.org> +metadata.xml, + +apr-util-0.9.5.ebuild: + New package, required by apache + diff --git a/dev-libs/apr-util/Manifest b/dev-libs/apr-util/Manifest new file mode 100644 index 000000000000..e6897f9ac14d --- /dev/null +++ b/dev-libs/apr-util/Manifest @@ -0,0 +1,4 @@ +MD5 147f1e6618bb76bf0990460ee59b4736 apr-util-0.9.5.ebuild 1652 +MD5 0306136035387faf24d073c3f0b9ee7d ChangeLog 278 +MD5 0d18f0fe5d603b41b988373892caf195 metadata.xml 226 +MD5 4e443d47db271d53344974fe62da6692 files/digest-apr-util-0.9.5 66 diff --git a/dev-libs/apr-util/apr-util-0.9.5.ebuild b/dev-libs/apr-util/apr-util-0.9.5.ebuild new file mode 100644 index 000000000000..f25d26bde0b1 --- /dev/null +++ b/dev-libs/apr-util/apr-util-0.9.5.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-0.9.5.ebuild,v 1.1 2005/01/09 00:15:08 vericgar Exp $ + +inherit gnuconfig + +DESCRIPTION="Apache Portable Runtime Library" +HOMEPAGE="http://apr.apache.org/" +SRC_URI="mirror://apache/apr/${P}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~x86" +SLOT="0" + +IUSE="berkdb gdbm ldap" + +DEPEND=">=sys-apps/sed-4 + dev-libs/expat + =dev-libs/apr-0.9.5 + berkdb? ( sys-libs/db ) + gdbm? ( sys-libs/gdbm ) + ldap? ( =net-nds/openldap-2* )" + +src_compile() { + # Detect mips and uclibc systems properly + gnuconfig_update + + myconf="" + + if use ldap; then + myconf="${myconf} --with-ldap" + fi + + if use berkdb; then + if has_version '=sys-libs/db-4.2*'; then + myconf="${myconf} --with-dbm=db42 --with-berkely-db=/usr" + elif has_version '=sys-libs/db-4*'; then + myconf="${myconf} --with-dbm=db4 --with-berkely-db=/usr" + elif has_version '=sys-libs/db-3*'; then + myconf="${myconf} --with-dbm=db3 --with-berkely-db=/usr" + elif has_version '=sys-libs/db-2'; then + myconf="${myconf} --with-dbm=db2 --with-berkely-db=/usr" + fi + fi + + ./configure \ + --prefix=/usr \ + --host=${CHOST} \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --datadir=/usr/share/apr-util-0 \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --with-apr=/usr \ + $myconf || die + + emake || die +} + +src_install() { + einstall installbuilddir=${D}/usr/share/apr-util-0/build + + #bogus values pointing at /var/tmp/portage + sed -i -e 's:APU_SOURCE_DIR=.*:APU_SOURCE_DIR=:g' ${D}/usr/bin/apu-config + sed -i -e 's:APU_BUILD_DIR=.*:APU_BUILD_DIR=/usr/share/apr-util-0/build:g' ${D}/usr/bin/apu-config + + dodoc CHANGES LICENSE NOTICE +} diff --git a/dev-libs/apr-util/files/digest-apr-util-0.9.5 b/dev-libs/apr-util/files/digest-apr-util-0.9.5 new file mode 100644 index 000000000000..e08bbb75fde8 --- /dev/null +++ b/dev-libs/apr-util/files/digest-apr-util-0.9.5 @@ -0,0 +1 @@ +MD5 5d9effcdd7c1b84d5af4a29be29936b9 apr-util-0.9.5.tar.gz 720534 diff --git a/dev-libs/apr-util/metadata.xml b/dev-libs/apr-util/metadata.xml new file mode 100644 index 000000000000..10510cb8be95 --- /dev/null +++ b/dev-libs/apr-util/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>apache</herd> +<maintainer> + <email>apache-devs@gentoo.org</email> +</maintainer> +</pkgmetadata> |