diff options
Diffstat (limited to 'src/zziplib.mk')
-rw-r--r-- | src/zziplib.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/zziplib.mk b/src/zziplib.mk index 0ae4468..e2b0bd7 100644 --- a/src/zziplib.mk +++ b/src/zziplib.mk @@ -6,16 +6,16 @@ PKG := zziplib $(PKG)_IGNORE := $(PKG)_VERSION := 0.13.59 $(PKG)_CHECKSUM := ddbce25cb36c3b4c2b892e2c8a88fa4a0be29a71 -$(PKG)_SUBDIR := zziplib-$($(PKG)_VERSION) -$(PKG)_FILE := zziplib-$($(PKG)_VERSION).tar.bz2 -$(PKG)_WEBSITE := http://zziplib.sourceforge.net/ -$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/zziplib/zziplib$(word 2,$(subst ., ,$($(PKG)_VERSION)))/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $($(PKG)_SUBDIR).tar.bz2 +$(PKG)_WEBSITE := http://$(PKG).sourceforge.net/ +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)$(word 2,$(subst ., ,$($(PKG)_VERSION)))/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := gcc zlib define $(PKG)_UPDATE - $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/zziplib/files/) | \ + wget -q -O- 'http://sourceforge.net/projects/zziplib/files/' | \ $(SED) -n 's,.*zziplib-\([0-9][^>]*\)\.tar.*,\1,p' | \ - tail -1 + head -1 endef define $(PKG)_BUILD |