Mercurial > mxe-octave
annotate src/dcmtk.mk @ 2365:b5321bdec505
Move full package names from src/*.mk into package list (index.html)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 21:41:44 +0200 |
parents | 99516e73b368 |
children | 65847798eb13 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1591
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
1366 | 3 |
4 PKG := dcmtk | |
5 $(PKG)_IGNORE := | |
1591 | 6 $(PKG)_CHECKSUM := 469e017cffc56f36e834aa19c8612111f964f757 |
1366 | 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
1499
9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents:
1469
diff
changeset
|
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
1469
d0248883f863
improved update script of package dcmtk
Volker Grabsch <vog@notjusthosting.com>
parents:
1414
diff
changeset
|
9 $(PKG)_URL := ftp://dicom.offis.de/pub/dicom/offis/software/$(PKG)/$(PKG)$(subst .,,$($(PKG)_VERSION))/$($(PKG)_FILE) |
1366 | 10 $(PKG)_DEPS := gcc openssl tiff libpng libxml2 zlib |
11 | |
12 define $(PKG)_UPDATE | |
1469
d0248883f863
improved update script of package dcmtk
Volker Grabsch <vog@notjusthosting.com>
parents:
1414
diff
changeset
|
13 wget -q -O- 'http://dicom.offis.de/dcmtk.php.en' | \ |
d0248883f863
improved update script of package dcmtk
Volker Grabsch <vog@notjusthosting.com>
parents:
1414
diff
changeset
|
14 $(SED) -n 's,.*/dcmtk-\([0-9][^"]*\)\.tar.*,\1,p' | \ |
1367
34089aeddea5
improved meta information of package dcmtk
Volker Grabsch <vog@notjusthosting.com>
parents:
1366
diff
changeset
|
15 head -1 |
1366 | 16 endef |
17 | |
18 define $(PKG)_BUILD | |
19 cd '$(1)' && ./configure \ | |
20 --host='$(TARGET)' \ | |
21 --prefix='$(PREFIX)/$(TARGET)' \ | |
1368
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
22 --with-openssl \ |
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
23 --with-libtiff \ |
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
24 --with-libpng \ |
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
25 --with-libxml \ |
1369
3f57ce7e5871
fix ./configure options of package dcmtk
Volker Grabsch <vog@notjusthosting.com>
parents:
1368
diff
changeset
|
26 --with-libxmlinc='$(PREFIX)/$(TARGET)' \ |
1368
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
27 --with-zlib \ |
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
28 --without-libwrap \ |
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
29 CXX='$(TARGET)-g++' \ |
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
30 RANLIB='$(TARGET)-ranlib' \ |
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
31 AR='$(TARGET)-ar' \ |
1369
3f57ce7e5871
fix ./configure options of package dcmtk
Volker Grabsch <vog@notjusthosting.com>
parents:
1368
diff
changeset
|
32 ARFLAGS=cru \ |
1414
3e767a565122
package dcmtk: use libtool portability variable
Tony Theodore <tonyt@logyst.com>
parents:
1369
diff
changeset
|
33 LIBTOOL=$(LIBTOOL) \ |
1369
3f57ce7e5871
fix ./configure options of package dcmtk
Volker Grabsch <vog@notjusthosting.com>
parents:
1368
diff
changeset
|
34 ac_cv_my_c_rightshift_unsigned=no |
1366 | 35 $(MAKE) -C '$(1)' -j '$(JOBS)' install-lib |
36 endef |