diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dcmtk.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dcmtk.mk b/src/dcmtk.mk index 1dba88d..1ddfb77 100644 --- a/src/dcmtk.mk +++ b/src/dcmtk.mk @@ -7,14 +7,14 @@ $(PKG)_IGNORE := $(PKG)_VERSION := 3.5.4 $(PKG)_CHECKSUM := 169056874947083e68eb941fcd53faaebc862ae5 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) -$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz $(PKG)_WEBSITE := http://dicom.offis.de/dcmtk.php.en -$(PKG)_URL := ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk$(subst .,,$($(PKG)_VERSION))/$($(PKG)_FILE) +$(PKG)_URL := ftp://dicom.offis.de/pub/dicom/offis/software/$(PKG)/$(PKG)$(subst .,,$($(PKG)_VERSION))/$($(PKG)_FILE) $(PKG)_DEPS := gcc openssl tiff libpng libxml2 zlib define $(PKG)_UPDATE - wget -q -O- 'http://dicom.offis.de/download/dcmtk/?C=M;O=D' | \ - $(SED) -n 's,.*<a href="dcmtk\([0-9]\)\([0-9]\)\([0-9]\)/.*,\1.\2.\3,p' | \ + wget -q -O- 'http://dicom.offis.de/dcmtk.php.en' | \ + $(SED) -n 's,.*/dcmtk-\([0-9][^"]*\)\.tar.*,\1,p' | \ head -1 endef |