diff options
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/slony1/Manifest | 2 | ||||
-rw-r--r-- | dev-db/slony1/slony1-2.1.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest index f51fd0c..e3ef4b9 100644 --- a/dev-db/slony1/Manifest +++ b/dev-db/slony1/Manifest @@ -4,8 +4,10 @@ AUX slony1.logrotate 143 RMD160 69be266c37aee891112dfe0cc7d7231f0db41101 SHA1 d2 DIST slony1-2.0.5.tar.bz2 965640 RMD160 7235658277ab8a7ed0ee722d52f33e766534f18b SHA1 cc285c8d5659d2389caef281829f6110fe74a392 SHA256 4f382447a399966caf0dec94da208d6435fdc4d6341784f0e32468efa5f4a369 DIST slony1-2.0.6.tar.bz2 979208 RMD160 39ceec9fc823903e6e2c6080558ab5e00a476697 SHA1 6e3c8d9bb8ae138c089782836f9b303cadc82b97 SHA256 7630ce45c3ff64d032de0a519a0992fadee8887ce0a728c13a2fbe23371f324f DIST slony1-2.1.0.rc2.tar.bz2 1484338 RMD160 ac25ce535c60a617c1382ed24b72cc932262f630 SHA1 e81563da38642236c92b88148abd886ab198017e SHA256 3113d75505794e0266ea1359645b4f9914a5d91827df793dcdecd49325f20b4f +DIST slony1-2.1.0.tar.bz2 1442289 RMD160 2a7acf8cf48f7d2e3c5a84423ff512471d58b238 SHA1 a4c488c1a41aef080fb0c8ed9cbf8264fe34c20d SHA256 74526828ef1913c438536c7e943e2214d45d8976d1325c50f4e9d1db67a57b5d EBUILD slony1-2.0.5-r1.ebuild 1336 RMD160 fce4f9760edf29d4f492005d516bbaf084334deb SHA1 3da045eb172fdcc9202d371bff5f901c1fcca77d SHA256 6985f9088f95b7369c47c3dfef306416096bbb3c3ef21e0ed9cf96fb527db959 EBUILD slony1-2.0.6.ebuild 1320 RMD160 9d8bb9115a5a0f2ebd788d4d276808a68d17e634 SHA1 fc095d184cc7e9d56a6aaf2b0edeb98584f56266 SHA256 9fff18bc3a988dcf0a4d0d0c87ecfd40f1f50665a52980e0346b8f6b1a4cbd85 +EBUILD slony1-2.1.0.ebuild 1392 RMD160 b6668971763546ccdca0b44b6c59dfa41ca46d5c SHA1 7d578c48524da994cbf914e260437e1a69dad7a9 SHA256 5e2473d72eeaaf9f83103693d79a1bde07505f724fcc343ca5c162623557ccde EBUILD slony1-2.1.0_rc2.ebuild 1385 RMD160 eeb7da92d5bd44dde7766eb9d7e6debe50c2633d SHA1 e3536750492ab59a4ab66cdc68ed63aba24a4030 SHA256 e008e3787f9db823cb74cc4eb7f81a962c3bcbf9c86cb58ee00e3d0b6ec0c9b5 MISC ChangeLog 3229 RMD160 d8e9fb27fa544f23f6ca63dccf7cbf761a0e285e SHA1 d70f1d5d013bb75671ade34ae2ed8b37c63d22ea SHA256 a6e91a7f952e8b85c80dfebe8fc11bc6b1d5f900ea8322e0ab1859b4a822e18e MISC metadata.xml 164 RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc SHA1 f67b7ac1c5e6e65ef5a19a589d4759c84918f86c SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b diff --git a/dev-db/slony1/slony1-2.1.0.ebuild b/dev-db/slony1/slony1-2.1.0.ebuild new file mode 100644 index 0000000..576e2d9 --- /dev/null +++ b/dev-db/slony1/slony1-2.1.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/slony1-1.2.17.ebuild,v 1.2 2010/06/17 19:15:30 patrick Exp $ + +inherit eutils + +IUSE="perl" + +DESCRIPTION="A replication system for the PostgreSQL Database Management System" +HOMEPAGE="http://slony.info/" +SRC_URI="http://main.slony.info/downloads/2.1/source/slony1-2.1.0.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND="dev-db/postgresql-server + perl? ( dev-perl/DBD-Pg )" +S="${WORKDIR}/slony1-2.1.0" + +src_compile() { + local myconf="" + + myconf="${myconf} --with-pgincludedir=/usr/include/postgresql/pgsql" + myconf="${myconf} --with-pgincludeserverdir=/usr/include/postgresql/server" + if use perl ; then + myconf="${myconf} --with-perltools" + fi + + econf ${myconf} || die "econf failed!" + emake || die "emake failed!" + + if use perl ; then + cd ${S}/tools || die + emake || die "emake tools failed!" + fi +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed!" + + dodoc HISTORY-1.1 INSTALL README SAMPLE TODO UPGRADING doc/howto/*.txt + dohtml doc/howto/*.html + + newinitd "${FILESDIR}"/slony1.init slony1 || die "newinitd failed!" + newconfd "${FILESDIR}"/slony1.conf slony1 || die "newconfd failed!" + insinto /etc/logrotate.d/ + newins "${FILESDIR}"/slony1.logrotate slony1 || die "logrotate failed!" +} |