--- /dev/null
+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/"
-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"
-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"
-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"