Mercurial > mxe-octave
annotate src/dcmtk.mk @ 2525:4d0f3a9da57e
all packages: use $(WGET) portability variable
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Wed, 09 May 2012 01:16:05 +1000 |
parents | 65847798eb13 |
children | 100e618349f7 |
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) |
2372
65847798eb13
Provide alternative download URL for package dcmtk
Volker Grabsch <vog@notjusthosting.com>
parents:
2365
diff
changeset
|
10 $(PKG)_URL_2 := http://ftp.debian.org/debian/pool/main/d/$(PKG)/$(PKG)_$($(PKG)_VERSION).orig.tar.gz |
1366 | 11 $(PKG)_DEPS := gcc openssl tiff libpng libxml2 zlib |
12 | |
13 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2372
diff
changeset
|
14 $(WGET) -q -O- 'http://dicom.offis.de/dcmtk.php.en' | \ |
1469
d0248883f863
improved update script of package dcmtk
Volker Grabsch <vog@notjusthosting.com>
parents:
1414
diff
changeset
|
15 $(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
|
16 head -1 |
1366 | 17 endef |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && ./configure \ | |
21 --host='$(TARGET)' \ | |
22 --prefix='$(PREFIX)/$(TARGET)' \ | |
1368
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
23 --with-openssl \ |
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
24 --with-libtiff \ |
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
25 --with-libpng \ |
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
26 --with-libxml \ |
1369
3f57ce7e5871
fix ./configure options of package dcmtk
Volker Grabsch <vog@notjusthosting.com>
parents:
1368
diff
changeset
|
27 --with-libxmlinc='$(PREFIX)/$(TARGET)' \ |
1368
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
28 --with-zlib \ |
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
29 --without-libwrap \ |
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
30 CXX='$(TARGET)-g++' \ |
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
31 RANLIB='$(TARGET)-ranlib' \ |
a406cb18992b
remove nasty tab characters
Volker Grabsch <vog@notjusthosting.com>
parents:
1367
diff
changeset
|
32 AR='$(TARGET)-ar' \ |
1369
3f57ce7e5871
fix ./configure options of package dcmtk
Volker Grabsch <vog@notjusthosting.com>
parents:
1368
diff
changeset
|
33 ARFLAGS=cru \ |
1414
3e767a565122
package dcmtk: use libtool portability variable
Tony Theodore <tonyt@logyst.com>
parents:
1369
diff
changeset
|
34 LIBTOOL=$(LIBTOOL) \ |
1369
3f57ce7e5871
fix ./configure options of package dcmtk
Volker Grabsch <vog@notjusthosting.com>
parents:
1368
diff
changeset
|
35 ac_cv_my_c_rightshift_unsigned=no |
1366 | 36 $(MAKE) -C '$(1)' -j '$(JOBS)' install-lib |
37 endef |