summaryrefslogtreecommitdiffstats
path: root/src/vmime.mk
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2012-11-12 20:56:00 (GMT)
committerMark Brand <mabrand@mabrand.nl>2012-11-12 20:59:08 (GMT)
commit34dee5aa6389a7ff82a4c9e633d066c614e2f42b (patch)
tree60272521d9af416f22138b630c9ee25a108cfffa /src/vmime.mk
parent3f212f54367eb8b1a0908743957273c436f739ad (diff)
downloadmxe-34dee5aa6389a7ff82a4c9e633d066c614e2f42b.zip
mxe-34dee5aa6389a7ff82a4c9e633d066c614e2f42b.tar.gz
mxe-34dee5aa6389a7ff82a4c9e633d066c614e2f42b.tar.bz2
package vmime: use github tarball
This seems like a much better idea than applying our own copy of the patches to the 0.9.1 tarball.
Diffstat (limited to 'src/vmime.mk')
-rw-r--r--src/vmime.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/vmime.mk b/src/vmime.mk
index 25e485a..eb01456 100644
--- a/src/vmime.mk
+++ b/src/vmime.mk
@@ -3,16 +3,16 @@
PKG := vmime
$(PKG)_IGNORE :=
-$(PKG)_CHECKSUM := 3e8dd8855e423db438d465777efeb523c4abb5f3
-$(PKG)_SUBDIR := lib$(PKG)-$($(PKG)_VERSION)
-$(PKG)_FILE := lib$(PKG)-$($(PKG)_VERSION).tar.bz2
-$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
+$(PKG)_CHECKSUM := 24a32dcc2eaf78d4a53541936ef72e4cf4f0a6ff
+$(PKG)_SUBDIR := kisli-vmime-$($(PKG)_VERSION)
+$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
+$(PKG)_URL := https://github.com/kisli/vmime/tarball/$($(PKG)_VERSION)/$(PKG)_FILE
$(PKG)_DEPS := gcc libiconv gnutls libgsasl pthreads zlib
define $(PKG)_UPDATE
- $(WGET) -q -O- 'http://sourceforge.net/projects/vmime/files/vmime/' | \
- $(SED) -n 's,.*libvmime-\([0-9][^>]*\)\.tar.*,\1,p' | \
- tail -1
+ $(WGET) -q -O- 'https://github.com/kisli/vmime/commits/master' | \
+ $(SED) -n 's#.*<span class="sha">\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \
+ head -1
endef
define $(PKG)_BUILD