summaryrefslogtreecommitdiff
path: root/dev-db/libpq
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2007-05-16 15:54:26 +0000
committerrandomdan <randomdan@localhost>2007-05-16 15:54:26 +0000
commit5443350e2d3b7227ae72ec59eb0d6d838fa73b70 (patch)
tree5ccbe213ff45b64f94f3186d65c26d0b6cd3b127 /dev-db/libpq
parentA virtual install for a kiosk (diff)
downloadportage-5443350e2d3b7227ae72ec59eb0d6d838fa73b70.tar.bz2
portage-5443350e2d3b7227ae72ec59eb0d6d838fa73b70.tar.xz
portage-5443350e2d3b7227ae72ec59eb0d6d838fa73b70.zip
PostgreSQL 8.2 series now in portage
Diffstat (limited to 'dev-db/libpq')
-rw-r--r--dev-db/libpq/Manifest9
-rw-r--r--dev-db/libpq/files/digest-libpq-8.2.36
-rw-r--r--dev-db/libpq/libpq-8.2.3.ebuild114
3 files changed, 0 insertions, 129 deletions
diff --git a/dev-db/libpq/Manifest b/dev-db/libpq/Manifest
deleted file mode 100644
index 40a419f..0000000
--- a/dev-db/libpq/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-DIST postgresql-base-8.2.3.tar.bz2 8500472 RMD160 8ec01f0ea8ad3a7d380ea2a0564109c718207864 SHA1 a2948e2affdeafc5e81526bb10582a53e6b3601f SHA256 6ad1274bd8e7f3df1c4295d73b93b2176278b4f9b0dc375737bfe75cecefc6e8
-DIST postgresql-opt-8.2.3.tar.bz2 167549 RMD160 f9dad95527f22aaef809b52acbde2b80b0a1ed5a SHA1 ff37f7a5eaacdaaa4993023554ed180b636b1fcf SHA256 fc82d271c988b27515735db463e6f656f0417104f8f0cabfda5c515e15b1876e
-EBUILD libpq-8.2.3.ebuild 3287 RMD160 6d8bfa242d9c033060af1b386acc41de11b4468c SHA1 4b374220b2632253d92d742c78ed9d8c85d9fd5a SHA256 8169f43aa40c460f1790f35b63b7a4db2a1eef551e301a70272a63a959cf5fb0
-MD5 94a192d8fa48d815a95b80887e334173 libpq-8.2.3.ebuild 3287
-RMD160 6d8bfa242d9c033060af1b386acc41de11b4468c libpq-8.2.3.ebuild 3287
-SHA256 8169f43aa40c460f1790f35b63b7a4db2a1eef551e301a70272a63a959cf5fb0 libpq-8.2.3.ebuild 3287
-MD5 99d0e94c29c81071b0e90121fd8d5c10 files/digest-libpq-8.2.3 536
-RMD160 2d77d5254876d35e02ea34bb044d916d3b5ee17f files/digest-libpq-8.2.3 536
-SHA256 69a41c059e70800b80e5a00543c50cde097d8dc44459030cce9ae48e356560c5 files/digest-libpq-8.2.3 536
diff --git a/dev-db/libpq/files/digest-libpq-8.2.3 b/dev-db/libpq/files/digest-libpq-8.2.3
deleted file mode 100644
index c98f44c..0000000
--- a/dev-db/libpq/files/digest-libpq-8.2.3
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 c19b529c2a7b3c4850ae65b0a89f1883 postgresql-base-8.2.3.tar.bz2 8500472
-RMD160 8ec01f0ea8ad3a7d380ea2a0564109c718207864 postgresql-base-8.2.3.tar.bz2 8500472
-SHA256 6ad1274bd8e7f3df1c4295d73b93b2176278b4f9b0dc375737bfe75cecefc6e8 postgresql-base-8.2.3.tar.bz2 8500472
-MD5 2381dc8db8d90f78f4db940dc5544d9f postgresql-opt-8.2.3.tar.bz2 167549
-RMD160 f9dad95527f22aaef809b52acbde2b80b0a1ed5a postgresql-opt-8.2.3.tar.bz2 167549
-SHA256 fc82d271c988b27515735db463e6f656f0417104f8f0cabfda5c515e15b1876e postgresql-opt-8.2.3.tar.bz2 167549
diff --git a/dev-db/libpq/libpq-8.2.3.ebuild b/dev-db/libpq/libpq-8.2.3.ebuild
deleted file mode 100644
index f70e7c0..0000000
--- a/dev-db/libpq/libpq-8.2.3.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvs/lportage/dev-db/libpq/libpq-8.2.3.ebuild,v 1.1 2007-02-16 16:34:28 randomdan Exp $
-
-inherit eutils gnuconfig flag-o-matic toolchain-funcs
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-
-DESCRIPTION="PostgreSQL libraries."
-HOMEPAGE="http://www.postgresql.org/"
-SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2
- mirror://postgresql/source/v${PV}/postgresql-opt-${PV}.tar.bz2"
-LICENSE="POSTGRESQL"
-SLOT="4"
-IUSE="kerberos nls pam pg-intdatetime readline ssl threads zlib"
-
-RDEPEND="!<=dev-db/postgresql-8.1.4
- kerberos? ( virtual/krb5 )
- pam? ( virtual/pam )
- readline? ( >=sys-libs/readline-4.1 )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- zlib? ( >=sys-libs/zlib-1.1.3 )"
-DEPEND="${RDEPEND}
- sys-devel/autoconf
- >=sys-devel/bison-1.875
- nls? ( sys-devel/gettext )"
-
-S="${WORKDIR}/postgresql-${PV}"
-
-pkg_preinst() {
- # Removing wrong symlink created by previous ebuild
- if [[ -L "${ROOT}/usr/include/libpq" ]] ; then
- rm -f "${ROOT}/usr/include/libpq"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- # Detect mips systems properly
- gnuconfig_update
-
- cd "${S}"
-
- ./configure --prefix=/usr \
- --includedir=/usr/include/postgresql/libpq-${SLOT} \
- --sysconfdir=/etc/postgresql \
- --mandir=/usr/share/man \
- --host=${CHOST} \
- --with-docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $(use_with kerberos krb5) \
- $(use_enable nls ) \
- $(use_with pam) \
- --without-perl \
- $(use_enable pg-intdatetime integer-datetimes ) \
- --without-python \
- $(use_with readline) \
- $(use_with ssl openssl) \
- --without-tcl \
- $(use_enable threads thread-safety ) \
- $(use_with zlib) \
- || die "configure failed"
-
- cd "${S}/src/interfaces/libpq"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake libpq failed"
-
- cd "${S}/src/bin/pg_config"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake pg_config failed"
-}
-
-src_install() {
- cd "${S}/src/interfaces/libpq"
- emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "emake install libpq failed"
-
- cd "${S}/src/include"
- emake DESTDIR="${D}" install || die "emake install headers failed"
-
- cd "${S}/src/bin/pg_config"
- emake DESTDIR="${D}" install || die "emake install pg_config failed"
-
- cd "${S}"
- dodoc README HISTORY
-
- dosym libpq-${SLOT}.a /usr/$(get_libdir)/libpq.a
-
- for f in $(ls -1 "${D}"/usr/include/postgresql/libpq-${SLOT}/*.h) ; do
- dosym postgresql/libpq-${SLOT}/$(basename ${f}) /usr/include/
- done
-
- dodir /usr/include/libpq
- for f in $(ls -1 "${D}"/usr/include/postgresql/libpq-${SLOT}/libpq/*.h) ; do
- dosym ../postgresql/libpq-${SLOT}/libpq/$(basename ${f}) /usr/include/libpq/
- done
-
- cd "${D}/usr/include/postgresql/libpq-${SLOT}"
- for f in $(find * -name '*.h' -print) ; do
- destdir=$(dirname ${f})
- if [[ ! -d "${D}/usr/include/postgresql/${destdir}" ]] ; then
- dodir "/usr/include/postgresql/${destdir}"
- fi
- dosym /usr/include/postgresql/libpq-${SLOT}/${f} "/usr/include/postgresql/${destdir}/"
- done
-}
-
-src_test() {
- einfo "No tests available for libpq."
-}