From patchwork Fri Aug 15 17:19:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 380361 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 0358D1400B5 for ; Sat, 16 Aug 2014 03:20:04 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 20D928B94B; Fri, 15 Aug 2014 17:20:04 +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 WglSgSroEHG7; Fri, 15 Aug 2014 17:20:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 26A268BB76; Fri, 15 Aug 2014 17:20:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 560E81BF9A7 for ; Fri, 15 Aug 2014 17:20:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 52F718BB76 for ; Fri, 15 Aug 2014 17:20:01 +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 rrly1VJkQzbA for ; Fri, 15 Aug 2014 17:20:00 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from marvin.crapouillou.net (rev33.vpn.fdn.fr [80.67.179.33]) by whitealder.osuosl.org (Postfix) with ESMTPS id 314A28B94B for ; Fri, 15 Aug 2014 17:20:00 +0000 (UTC) Received: from acaen-252-1-220-31.w86-215.abo.wanadoo.fr ([86.215.120.31] helo=localhost.localdomain) by marvin.crapouillou.net with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA256:128) (Exim 4.80) (envelope-from ) id 1XILAR-0003B5-DW; Fri, 15 Aug 2014 19:19:56 +0200 From: Paul Cercueil To: buildroot@busybox.net Date: Fri, 15 Aug 2014 19:19:38 +0200 Message-Id: <1408123178-6202-1-git-send-email-paul@crapouillou.net> X-Mailer: git-send-email 2.0.1 Cc: Paul Cercueil Subject: [Buildroot] [PATCH v2] glm: Added package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specification. http://glm.g-truc.net/ Signed-off-by: Paul Cercueil --- package/Config.in | 1 + package/glm/Config.in | 10 ++++++++++ package/glm/glm.mk | 17 +++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 package/glm/Config.in create mode 100644 package/glm/glm.mk diff --git a/package/Config.in b/package/Config.in index 4520ba6..1e4bc50 100644 --- a/package/Config.in +++ b/package/Config.in @@ -828,6 +828,7 @@ menu "Other" source "package/fftw/Config.in" source "package/flann/Config.in" source "package/glibmm/Config.in" + source "package/glm/Config.in" source "package/gmp/Config.in" source "package/gsl/Config.in" source "package/gtest/Config.in" diff --git a/package/glm/Config.in b/package/glm/Config.in new file mode 100644 index 0000000..41b3608 --- /dev/null +++ b/package/glm/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_GLM + bool "glm" + depends on BR2_INSTALL_LIBSTDCPP + help + OpenGL Mathematics (GLM) + + http://glm.g-truc.net + +comment "glm needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/glm/glm.mk b/package/glm/glm.mk new file mode 100644 index 0000000..ff9423d --- /dev/null +++ b/package/glm/glm.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# glm +# +################################################################################ + +GLM_VERSION = 0.9.5.4 +GLM_SITE = $(call github,g-truc,glm,$(GLM_VERSION)) +GLM_LICENSE = MIT +GLM_LICENSE_FILES = copying.txt + +# GLM is a header-only library, it only makes sense +# to have it installed into the staging directory. +GLM_INSTALL_STAGING = YES +GLM_INSTALL_TARGET = NO + +$(eval $(cmake-package))