From patchwork Wed Jun 18 01:33:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Frost X-Patchwork-Id: 361235 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id CA700140077 for ; Wed, 18 Jun 2014 11:34:38 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2856C85E23; Wed, 18 Jun 2014 01:34:37 +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 aRJRSFmXbbhJ; Wed, 18 Jun 2014 01:34:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 71C7185CDE; Wed, 18 Jun 2014 01:34:35 +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 9098C1CE5CC for ; Wed, 18 Jun 2014 01:34:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8C9278B619 for ; Wed, 18 Jun 2014 01:34:34 +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 oi7BzCiDJgKe for ; Wed, 18 Jun 2014 01:34:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) by whitealder.osuosl.org (Postfix) with ESMTPS id C5CAD8B615 for ; Wed, 18 Jun 2014 01:34:33 +0000 (UTC) Received: by mail-pa0-f42.google.com with SMTP id lj1so152936pab.15 for ; Tue, 17 Jun 2014 18:34:33 -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=EaEkPguD53E2weHbSa2/QieRIe3tFJz8ho8paGWjKzk=; b=zxu5is13JxmdHhFnaQO++G0FpoUmEWKu9SsXBqA2x4C+MHbNFPMuGuAcKqUKl3F7YP /2ZbrPVjbxuXoxoEp5wNHlRYDbe/n6NSGXwnN1qQWDv99eLbMVcOsoZSCEEmAmJUOMX2 ARsTtbVgHGwNwcQc5QcviE/ZVbNiDCPWTMePT6D2jSgFqJtjoYuwu5yQa3PZSzUudCxQ Pl6Zptidfi6JwSiQVOHSUymWvue1sGrOX2NoCPrlFLGK7BV/ELqH0tY1smONKrRizXw1 Y4TyrMWCk/vYzi2UwEOCcjuZGtWHh9L2zrTaTuRtEU351VqjWBElLvHDecP4qpFuNFUQ I5sg== X-Received: by 10.68.202.167 with SMTP id kj7mr17158051pbc.160.1403055273575; Tue, 17 Jun 2014 18:34:33 -0700 (PDT) Received: from linux-QSENN.GOD ([114.205.88.46]) by mx.google.com with ESMTPSA id av2sm429364pbc.16.2014.06.17.18.34.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jun 2014 18:34:33 -0700 (PDT) From: William Frost To: buildroot@busybox.net Date: Wed, 18 Jun 2014 10:33:03 +0900 Message-Id: <1403055183-3910-1-git-send-email-tsmrnd0@gmail.com> X-Mailer: git-send-email 1.8.1.4 Subject: [Buildroot] [PATCH] [Patch v4] dcmtk: new 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 [PATCH] Changes v3 -> v4: (suggested by Gustavo Zacarias): - removed trailing whitespaces in the help text - added a comment indicating that dcmtk depends on BR2_INSTALL_LIBSTDCPP Signed-off-by: William Frost --- package/Config.in | 1 + package/dcmtk/Config.in | 15 +++++++++++++++ package/dcmtk/dcmtk.mk | 23 +++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 package/dcmtk/Config.in create mode 100644 package/dcmtk/dcmtk.mk diff --git a/package/Config.in b/package/Config.in index 07fd166..b88c0b0 100644 --- a/package/Config.in +++ b/package/Config.in @@ -568,6 +568,7 @@ endmenu menu "Graphics" source "package/atk/Config.in" source "package/cairo/Config.in" +source "package/dcmtk/Config.in" source "package/fltk/Config.in" source "package/fontconfig/Config.in" source "package/freetype/Config.in" diff --git a/package/dcmtk/Config.in b/package/dcmtk/Config.in new file mode 100644 index 0000000..d11bc12 --- /dev/null +++ b/package/dcmtk/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_DCMTK + bool "dcmtk" + help + DCMTK is a collection of libraries and applications implementing + large parts the DICOM standard. It includes software for examining, + constructing and converting DICOM image files, handling offline + media, sending and receiving images over a network connection, as + well as demonstrative image storage and worklist servers. DCMTK is + is written in a mixture of ANSI C and C++. It comes in complete + source code and is made available as "open source" software. + + http://dicom.offis.de/dcmtk.php.en + +comment "dcmtk needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP \ No newline at end of file diff --git a/package/dcmtk/dcmtk.mk b/package/dcmtk/dcmtk.mk new file mode 100644 index 0000000..ae2c265 --- /dev/null +++ b/package/dcmtk/dcmtk.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# dcmtk +# +################################################################################ + +DCMTK_VERSION = $(call qstrip,"3.6.0") +DCMTK_SITE = http://dicom.offis.de/download/dcmtk/dcmtk360 + +DCMTK_LICENSE = BSD +DCMTK_LICENSE_FILES = COPYRIGHT +DCMTK_INSTALL_STAGING = YES + +DCMTK_CFLAGS = $(TARGET_CFLAGS) -O -Wall +DCMTK_CXXFLAGS = $(TARGET_CXXFLAGS) -O -Wall +DCMTK_CONF_OPT = \ + --disable-rpath --with-zlib \ + ac_cv_my_c_rightshift_unsigned=no + +DCMTK_CONF_ENV = ARFLAGS=cru +DCMTK_MAKE_OPT = DESTDIR=$(STAGING_DIR) install-lib + +$(eval $(autotools-package))