From patchwork Sun Jul 31 12:45:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zoltan Gyarmati X-Patchwork-Id: 654358 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3s2Mdn4mK5z9t0h for ; Sun, 31 Jul 2016 22:46:05 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=KbHGkRJp; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DFC438B282; Sun, 31 Jul 2016 12:46:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uesued8BPz+x; Sun, 31 Jul 2016 12:46:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 8B3908B1FC; Sun, 31 Jul 2016 12:46:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 72FD21C2578 for ; Sun, 31 Jul 2016 12:46:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 6DA2E89A80 for ; Sun, 31 Jul 2016 12:46:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t3-XKM63EV+D for ; Sun, 31 Jul 2016 12:46:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id 52CE386F86 for ; Sun, 31 Jul 2016 12:46:00 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id x83so22280650wma.3 for ; Sun, 31 Jul 2016 05:46:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=tyRiDgDYIEfqEwjCdRz3dOkpfmDojijtnFblNgrupmg=; b=KbHGkRJpbhSJoJD6c23BTXVpVWTjMEyeP1/AcnavMTszHZ8BElR6oNTDejtyuUTwlR HgwZZD923TuLdhQVfVjL3VYiRICQbyZ5UBeHukflvJYf/KC6zx+BdR/sGNJ4NQAOtjrT 5TKHUxDOZ9uYhKvE+TSWObNij3UxUKZhIlzsZKHrIHH7ubXxLjhQlfasD7RoFq4wxeZd 3uk1Bajg7P5ER1ExXu14q7TTeUYP4HlA5vzAiU5+X4NFQi3WgGLYBA1tLHb4b8UH0kFg WDmN8Cj3+/cibhax8DHu57rAYlJkODFhc5cj0o1/JomUyWqh8dkdd/3rh1OZkL6ogI4q KTmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=tyRiDgDYIEfqEwjCdRz3dOkpfmDojijtnFblNgrupmg=; b=MNFcdtNGeCqNdnKvvkfqqFrdSJkeW897eJncai3qrQODBf4ZvC8ol2+93KEVqUf02Z 0JRQRuOZwhbt8vG8urFT1jER8NEapK/kXGGxzv37gD0PKBItqcqay82P9SboBK+6vRXm cNO14tI+9E9+WWfXUCuuaII13oKo26Z2138s7zdCi6h0ruZTDNTAICRiw3HvcKtsrEEw sy/kT0p+40ni8RHPTtcs6YxYPKWTAA+Xj7MhOwzFH6hqdh2Tfv7rwbU6g91pA+Qp4o/1 gXcidSz3tnVMSH98B48esXCY9lndwijHKblqkV8mJaL0g/erBXw+uv+uHBWMzwwcNMBP dkBw== X-Gm-Message-State: AEkoousj+B/FA03HAyBoUWT06URGfjLIHHVKNgbINtZjA7/D24tRAIhXlqKV+27G2+YH6g== X-Received: by 10.194.176.165 with SMTP id cj5mr19965905wjc.82.1469969158802; Sun, 31 Jul 2016 05:45:58 -0700 (PDT) Received: from localhost.localdomain (563BD7A7.dsl.pool.telekom.hu. [86.59.215.167]) by smtp.gmail.com with ESMTPSA id q137sm12006104wmd.19.2016.07.31.05.45.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 31 Jul 2016 05:45:58 -0700 (PDT) From: Zoltan Gyarmati To: buildroot@buildroot.org Date: Sun, 31 Jul 2016 14:45:50 +0200 Message-Id: <1469969150-3029-1-git-send-email-mr.zoltan.gyarmati@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH 1/1] shapelib: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Zoltan Gyarmati --- 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))