All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] shapelib: new package
Date: Sun, 31 Jul 2016 14:45:50 +0200	[thread overview]
Message-ID: <1469969150-3029-1-git-send-email-mr.zoltan.gyarmati@gmail.com> (raw)

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
---
 package/Config.in              |  1 +
 package/shapelib/Config.in     |  8 ++++++++
 package/shapelib/shapelib.hash |  3 +++
 package/shapelib/shapelib.mk   | 25 +++++++++++++++++++++++++
 4 files changed, 37 insertions(+)
 create mode 100644 package/shapelib/Config.in
 create mode 100644 package/shapelib/shapelib.hash
 create mode 100644 package/shapelib/shapelib.mk

diff --git a/package/Config.in b/package/Config.in
index 645fa29..6186da1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1333,6 +1333,7 @@ endif
 	source "package/protobuf-c/Config.in"
 	source "package/qhull/Config.in"
 	source "package/qlibc/Config.in"
+	source "package/shapelib/Config.in"
 	source "package/sphinxbase/Config.in"
 	source "package/startup-notification/Config.in"
 	source "package/tinycbor/Config.in"
diff --git a/package/shapelib/Config.in b/package/shapelib/Config.in
new file mode 100644
index 0000000..a34a94d
--- /dev/null
+++ b/package/shapelib/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_SHAPELIB
+	bool "shapelib"
+	help
+	  The Shapefile C Library provides the ability to write simple C programs
+	  for reading, writing and updating (to a limited extent) ESRI Shapefiles,
+	  and the associated attribute file (.dbf).
+
+	  http://shapelib.maptools.org/
diff --git a/package/shapelib/shapelib.hash b/package/shapelib/shapelib.hash
new file mode 100644
index 0000000..6c8a86f
--- /dev/null
+++ b/package/shapelib/shapelib.hash
@@ -0,0 +1,3 @@
+# Locally computed
+sha256 23d474016158ab5077db2f599527631706ba5c0dc7c4178a6a1d685bb014f68f  shapelib-1.3.0.tar.gz
+
diff --git a/package/shapelib/shapelib.mk b/package/shapelib/shapelib.mk
new file mode 100644
index 0000000..5c928cb
--- /dev/null
+++ b/package/shapelib/shapelib.mk
@@ -0,0 +1,25 @@
+################################################################################
+#
+# shapelib
+#
+################################################################################
+
+SHAPELIB_VERSION = 1.3.0
+SHAPELIB_SITE = http://download.osgeo.org/shapelib
+SHAPELIB_LICENSE = LGPL
+SHAPELIB_LICENSE_FILES = LICENSE.LGPL
+SHAPELIB_INSTALL_STAGING = YES
+
+define SHAPELIB_BUILD_CMDS
+	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+endef
+
+define SHAPELIB_INSTALL_STAGING_CMDS
+	$(MAKE) -C $(@D) PREFIX=$(STAGING_DIR)/usr/ lib_install
+endef
+
+define SHAPELIB_INSTALL_TARGET_CMDS
+	$(MAKE) -C $(@D) PREFIX=$(TARGET_DIR)/usr/ bin_install
+endef
+
+$(eval $(generic-package))
-- 
2.7.4

             reply	other threads:[~2016-07-31 12:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-31 12:45 Zoltan Gyarmati [this message]
2016-09-21 13:57 ` [Buildroot] [PATCH 1/1] shapelib: new package Thomas Petazzoni
2016-09-21 16:47   ` Baruch Siach
2016-09-21 18:04     ` Thomas Petazzoni
2016-09-21 21:12       ` Peter Korsgaard
2016-09-22  3:41         ` Baruch Siach
2016-09-22  5:16           ` Peter Korsgaard
2016-09-22  7:17             ` Thomas Petazzoni
2016-09-22  7:26               ` Peter Korsgaard
2016-09-22  5:19           ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1469969150-3029-1-git-send-email-mr.zoltan.gyarmati@gmail.com \
    --to=mr.zoltan.gyarmati@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.