postgresql: unify and fix SRC_URI. Closes bug 3752.
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>
Wed, 6 Feb 2008 16:11:12 +0000 (16:11 +0000)
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>
Wed, 6 Feb 2008 16:11:12 +0000 (16:11 +0000)
packages/postgresql/postgresql.inc [new file with mode: 0644]
packages/postgresql/postgresql_8.1.4.bb
packages/postgresql/postgresql_8.1.8.bb
packages/postgresql/postgresql_8.2.4.bb

diff --git a/packages/postgresql/postgresql.inc b/packages/postgresql/postgresql.inc
new file mode 100644 (file)
index 0000000..36ec118
--- /dev/null
@@ -0,0 +1,16 @@
+DESCRIPTION = "PostgreSQL is a powerful, open source relational database system."
+HOMEPAGE = "http://www.postgresql.com"
+LICENSE = "BSD"
+DEPENDS = "zlib readline"
+
+#WARNING: this recipe assumes you have the timezone compiler present in /usr/sbin/zic
+
+SRC_URI = "ftp://ftp-archives.postgresql.org/pub/source/v${PV}/${P}.tar.bz2"
+
+inherit autotools pkgconfig
+
+do_compile_append() {
+         cp /usr/sbin/zic ${S}/src/timezone/
+}
+
+FILES_${PN}-doc += "${prefix}/doc/"
index 083fed5..27b067b 100644 (file)
@@ -1,20 +1,3 @@
-DESCRIPTION = "PostgreSQL is a powerful, open source relational database system."
-HOMEPAGE = "http://www.postgresql.com"
-LICENSE = "BSD"
-DEPENDS = "zlib readline"
-
-#WARNING: this recipe assumes you have the timezone compiler present in /usr/sbin/zic
-
-SRC_URI = "ftp://ftp-archives.postgresql.org/pub/source/v${PV}/${P}.tar.bz2"
-
-
-inherit autotools pkgconfig
-
-FILES_${PN}-doc += "${prefix}/doc/"
-
-do_compile_append() {
-cp /usr/sbin/zic ${S}/src/timezone/
-}
-
-
+require postgresql.inc
 
+PR = "r1"
index be44052..27b067b 100644 (file)
@@ -1,20 +1,3 @@
-DESCRIPTION = "PostgreSQL is a powerful, open source relational database system."
-HOMEPAGE = "http://www.postgresql.com"
-LICENSE = "BSD"
-DEPENDS = "zlib readline"
-
-#WARNING: this recipe assumes you have the timezone compiler present in /usr/sbin/zic
-
-SRC_URI = "ftp://ftp.us.postgresql.org/pub/mirrors/postgresql/source/v${PV}/${P}.tar.bz2"
-
-
-inherit autotools pkgconfig
-
-FILES_${PN}-doc += "${prefix}/doc/"
-
-do_compile_append() {
-cp /usr/sbin/zic ${S}/src/timezone/
-}
-
-
+require postgresql.inc
 
+PR = "r1"
index 3f65a4f..3dc8577 100644 (file)
@@ -1,20 +1,7 @@
-DESCRIPTION = "PostgreSQL is a powerful, open source relational database system."
-HOMEPAGE = "http://www.postgresql.com"
-LICENSE = "BSD"
-DEPENDS = "zlib readline"
-
-#WARNING: this recipe assumes you have the timezone compiler present in /usr/sbin/zic
-
-SRC_URI = "ftp://ftp.us.postgresql.org/pub/mirrors/postgresql/source/v${PV}/${P}.tar.bz2 \
-       file://no-ecpg-test.patch;patch=1"
-
-
-inherit autotools pkgconfig
-
-FILES_${PN}-doc += "${prefix}/doc/"
-
-do_compile_append() {
-cp /usr/sbin/zic ${S}/src/timezone/
-}
+require postgresql.inc
 
+PR = "r1"
 DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "http://ftp.de.postgresql.org/mirror/postgresql/source/v${PV}/${P}.tar.bz2 \
+           file://no-ecpg-test.patch;patch=1"