diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2011-10-12 22:09:17 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2011-10-12 22:09:17 +0000 |
commit | a7f2ae5f9b42264d4f94a3cbc16ba778468a24da (patch) | |
tree | e9fc201e38f1fcc8051aad3709b1820bc1a58029 /dev-db/postgresql-ip4r/: | |
parent | [dev-util/catalyst] sync with gx86, style changes (diff) | |
download | darkside-a7f2ae5f9b42264d4f94a3cbc16ba778468a24da.tar.gz darkside-a7f2ae5f9b42264d4f94a3cbc16ba778468a24da.tar.bz2 darkside-a7f2ae5f9b42264d4f94a3cbc16ba778468a24da.zip |
cp from ramereth-overlay
Diffstat (limited to 'dev-db/postgresql-ip4r/:')
-rw-r--r-- | dev-db/postgresql-ip4r/: | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-db/postgresql-ip4r/: b/dev-db/postgresql-ip4r/: new file mode 100644 index 0000000..bb9baec --- /dev/null +++ b/dev-db/postgresql-ip4r/: @@ -0,0 +1,31 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +MY_PN="${PN/postgresql-}" +MY_P="${MY_PN}-${PV}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="IPv4 and IPv4 range index type for PostgreSQL" +HOMEPAGE="http://pgfoundry.org/projects/ip4r" +SRC_URI="http://pgfoundry.org/frs/download.php/1581/${MY_P}.tar.gz" + +LICENSE="POSTGRESQL" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="|| ( + >=dev-db/postgresql-base-8.2 + >=dev-db/postgresql-server-8.2 + )" +RDEPEND="${DEPEND}" + +src_compile() { + emake USE_PGXS=1 || die +} + +src_install() { + emake DESTDIR="${D}" USE_PGXS=1 install || die + dodoc README.ip4r +} |