[Lunar-commits] <moonbase> dcmtk: Adding to moonbase. It will be an optional_depends for koffice.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Wed Feb 2 18:40:46 CET 2011
commit 1d554de47c3a746f0eccd0dc0ca7b087f7f0c3c1
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Wed Feb 2 12:40:46 2011 -0500
dcmtk: Adding to moonbase. It will be an optional_depends for koffice.
---
graphics/dcmtk/BUILD | 38 ++++++++++++++++++++++++++++++++++++++
graphics/dcmtk/DEPENDS | 6 ++++++
graphics/dcmtk/DETAILS | 19 +++++++++++++++++++
3 files changed, 63 insertions(+), 0 deletions(-)
diff --git a/graphics/dcmtk/BUILD b/graphics/dcmtk/BUILD
new file mode 100644
index 0000000..712c14b
--- /dev/null
+++ b/graphics/dcmtk/BUILD
@@ -0,0 +1,38 @@
+(
+
+ if in_depends $MODULE tiff ; then
+ LINK_TIFF="-ltiff"
+ fi &&
+
+ if in_depends $MODULE libpng ; then
+ LINK_PNG="-lpng"
+ fi &&
+
+# This is mainly to get shared objects. Though some jiggling with
+# linking is needed if tiff and libpng are used.
+ CFLAGS="-fPIC $CFLAGS $LINK_TIFF $LINK_PNG" &&
+ CXXFLAGS="-fPIC $CXXFLAGS $LINK_TIFF $LINK_PNG" &&
+ export AR="gcc" &&
+ export ARFLAGS="-shared -o" &&
+ export LIBEXT="so" &&
+ export RANLIB=":" &&
+
+ ./configure --prefix=/usr \
+ --build=$BUILD \
+ --host=$BUILD \
+ --includedir=/usr/include/ \
+ --libdir=/usr/lib/ \
+ --sysconfdir=/etc/$MODULE \
+ --disable-debug \
+ $OPTS &&
+
+# This makes the executables
+ make all &&
+ prepare_install &&
+# This makes the libraries and includes.
+# make install-bin &&
+# make install-lib &&
+# make install-include &&
+ make install-all
+
+) > $C_FIFO 2>&1
diff --git a/graphics/dcmtk/DEPENDS b/graphics/dcmtk/DEPENDS
new file mode 100644
index 0000000..a3464c7
--- /dev/null
+++ b/graphics/dcmtk/DEPENDS
@@ -0,0 +1,6 @@
+optional_depends openssl "--with-openssl" "--without-openssl" "For SSL support"
+optional_depends libxml2 "--with-libxml" "--without-libxml" "For xml support"
+optional_depends zlib "--with-zlib" "--without-zlib" "For compression support"
+optional_depends libpng "--with-libpng" "--without-libpng" "For png graphics support"
+optional_depends tiff "--with-libtiff" "--without-libtiff" "For tiff graphics support"
+optional_depends tcp_wrappers "--with-libwrap" "--without-libwrap" "For TCP wrapper support"
diff --git a/graphics/dcmtk/DETAILS b/graphics/dcmtk/DETAILS
new file mode 100644
index 0000000..8ecd8a4
--- /dev/null
+++ b/graphics/dcmtk/DETAILS
@@ -0,0 +1,19 @@
+ MODULE=dcmtk
+ VERSION=3.6.0
+ SOURCE=$MODULE-$VERSION.tar.gz
+ SOURCE_URL=ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk360/
+ SOURCE_VFY=sha1:469e017cffc56f36e834aa19c8612111f964f757
+ WEB_SITE=http://dicom.offis.de/dcmtk.php.en
+ ENTERED=20110202
+ UPDATED=20110202
+ SHORT="implementation of large parts of the DICOM standard"
+
+PSAFE=no
+cat << EOF
+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.
+EOF
More information about the Lunar-commits
mailing list