diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-12-02 19:31:45 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-12-02 19:31:45 (GMT) |
commit | 77f47c13ca7d6e60d93436d853608ac225e5fa64 (patch) | |
tree | f8b9543065dd935bd0fada5dd96f0ca40f3164a2 /src/libmng.mk | |
parent | e9720327c61aceb39e591a2341b3a7d270f11329 (diff) | |
download | mxe-77f47c13ca7d6e60d93436d853608ac225e5fa64.zip mxe-77f47c13ca7d6e60d93436d853608ac225e5fa64.tar.gz mxe-77f47c13ca7d6e60d93436d853608ac225e5fa64.tar.bz2 |
improved update script of all remaining SourceForge packages
Diffstat (limited to 'src/libmng.mk')
-rw-r--r-- | src/libmng.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libmng.mk b/src/libmng.mk index ef48156..da63e0e 100644 --- a/src/libmng.mk +++ b/src/libmng.mk @@ -6,16 +6,16 @@ PKG := libmng $(PKG)_IGNORE := $(PKG)_VERSION := 1.0.10 $(PKG)_CHECKSUM := c21c84b614500ae1a41c6595d5f81c596e406ca2 -$(PKG)_SUBDIR := libmng-$($(PKG)_VERSION) -$(PKG)_FILE := libmng-$($(PKG)_VERSION).tar.bz2 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $($(PKG)_SUBDIR).tar.bz2 $(PKG)_WEBSITE := http://www.libmng.com/ -$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/libmng/libmng-devel/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)-devel/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := gcc zlib jpeg lcms1 define $(PKG)_UPDATE - $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/libmng/files/) | \ - $(SED) -n 's,.*libmng-\([0-9][^>]*\)\.tar.*,\1,p' | \ - tail -1 + wget -q -O- 'http://sourceforge.net/projects/libmng/files/libmng-devel/' | \ + $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ + head -1 endef define $(PKG)_BUILD |