summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-06-30 10:40:00 +0000
committerKoen Kooi <koen@openembedded.org>2007-06-30 10:40:00 +0000
commit8b0c09a5b48d5a11a718e7f471567c9b25f64345 (patch)
treefa74822c270db5e5d2d03d0ec851b4e7a386c5bf /packages
parent2b611226ce9035e880dc77cd5b4c0ca9993815f4 (diff)
proj4: stage native tools
Diffstat (limited to 'packages')
-rw-r--r--packages/proj4/proj-4-native_4.9.bb3
-rw-r--r--packages/proj4/proj-4.inc18
-rw-r--r--packages/proj4/proj-4_4.9.bb18
3 files changed, 23 insertions, 16 deletions
diff --git a/packages/proj4/proj-4-native_4.9.bb b/packages/proj4/proj-4-native_4.9.bb
new file mode 100644
index 0000000000..e2ce77e4db
--- /dev/null
+++ b/packages/proj4/proj-4-native_4.9.bb
@@ -0,0 +1,3 @@
+require proj-4.inc
+
+inherit native
diff --git a/packages/proj4/proj-4.inc b/packages/proj4/proj-4.inc
new file mode 100644
index 0000000000..da78a384bd
--- /dev/null
+++ b/packages/proj4/proj-4.inc
@@ -0,0 +1,18 @@
+DESCRIPTION = "PROJ.4 - Cartographic Projections Library"
+HOMEPAGE = "http://www.remotesensing.org/proj/"
+LICENSE = "MIT"
+
+PR = "r1"
+
+inherit autotools pkgconfig
+
+SRC_URI = "ftp://ftp.remotesensing.org/proj/proj-4.${PV}.tar.gz"
+
+S = "${WORKDIR}/proj-4.${PV}"
+
+FILES_${PN} += "${datadir}/proj"
+
+do_stage() {
+ autotools_stage_all
+}
+
diff --git a/packages/proj4/proj-4_4.9.bb b/packages/proj4/proj-4_4.9.bb
index da78a384bd..d6d4cd9f88 100644
--- a/packages/proj4/proj-4_4.9.bb
+++ b/packages/proj4/proj-4_4.9.bb
@@ -1,18 +1,4 @@
-DESCRIPTION = "PROJ.4 - Cartographic Projections Library"
-HOMEPAGE = "http://www.remotesensing.org/proj/"
-LICENSE = "MIT"
+require proj-4.inc
-PR = "r1"
-
-inherit autotools pkgconfig
-
-SRC_URI = "ftp://ftp.remotesensing.org/proj/proj-4.${PV}.tar.gz"
-
-S = "${WORKDIR}/proj-4.${PV}"
-
-FILES_${PN} += "${datadir}/proj"
-
-do_stage() {
- autotools_stage_all
-}
+DEPENDS += "proj-4-native"