ocaml packages: fix update scripts

pull/103/head
Tony Theodore 12 years ago
parent 59fe538bdb
commit c5aa156b48

@ -10,8 +10,8 @@ $(PKG)_URL := http://ftp.de.debian.org/debian/pool/main/c/cairo-ocaml/$($(P
$(PKG)_DEPS := ocaml-core ocaml-findlib ocaml-lablgtk2
define $(PKG)_UPDATE
wget -q -O- 'http://ftp.de.debian.org/debian/pool/main/c/cairo-ocaml' | \
$(SED) -n 's,.*cairo-ocaml-\([0-9][^>]*\)\.orig\.tar.*,\1,ip' | \
$(WGET) -q -O- 'http://ftp.de.debian.org/debian/pool/main/c/cairo-ocaml/?C=M;O=D' | \
$(SED) -n 's,.*cairo-ocaml_\([0-9][^>]*\)\.orig\.tar.*,\1,ip' | \
head -1
endef

@ -10,8 +10,8 @@ $(PKG)_URL := https://bitbucket.org/camlspotter/camlimages/get/v$($(PKG)_VE
$(PKG)_DEPS := ocaml-findlib freetype libpng giflib tiff ocaml-lablgtk2
define $(PKG)_UPDATE
wget -q -O- 'https://bitbucket.org/camlspotter/camlimages/downloads' | \
$(SED) -n 's,.*camlimages-\([0-9][^>]*\)\.tar.*,\1,ip' | \
$(WGET) -q -O- 'https://bitbucket.org/camlspotter/camlimages/downloads' | \
$(SED) -n 's,.*get/v\([0-9][^>]*\)\.tar.*,\1,ip' | \
head -1
endef

@ -10,7 +10,7 @@ $(PKG)_URL := http://download.camlcity.org/download/$($(PKG)_FILE)
$(PKG)_DEPS := ocaml-core
define $(PKG)_UPDATE
wget -q -O- 'http://download.camlcity.org/download' | \
$(WGET) -q -O- 'http://download.camlcity.org/download' | \
$(SED) -n 's,.*findlib-\([0-9][^>]*\)\.tar.*,\1,ip' | \
sort | \
tail -1

@ -10,7 +10,7 @@ $(PKG)_URL := http://alain.frisch.fr/flexdll/$($(PKG)_FILE)
$(PKG)_DEPS := gcc ocaml-native
define $(PKG)_UPDATE
wget -q -O- 'http://alain.frisch.fr/flexdll/?C=M;O=D' | \
$(WGET) -q -O- 'http://alain.frisch.fr/flexdll/?C=M;O=D' | \
$(SED) -n 's,.*flexdll-\([0-9][^>]*\)\.tar.gz.*,\1,ip' | \
head -1
endef

@ -10,7 +10,7 @@ $(PKG)_URL := http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/$($(PKG)_F
$(PKG)_DEPS := ocaml-findlib gtkglarea
define $(PKG)_UPDATE
wget -q -O- 'http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgl.html' | \
$(WGET) -q -O- 'http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgl.html' | \
$(SED) -n 's,.*lablgl-\([^>]*\)\.tar.*,\1,ip' | \
head -1
endef

@ -10,8 +10,8 @@ $(PKG)_URL := https://forge.ocamlcore.org/frs/download.php/979/$($(PKG)_FIL
$(PKG)_DEPS := ocaml-findlib libglade gtkglarea ocaml-lablgl gtk2
define $(PKG)_UPDATE
wget -q -O- 'http://forge.ocamlcore.org/frs/?group_id=220' | \
sed -n 's,.*lablgtk-\(2[^>]*\)\.tar.*,\1,ip' | \
$(WGET) -q -O- 'http://forge.ocamlcore.org/frs/?group_id=220' | \
$(SED) -n 's,.*lablgtk-\(2[^>]*\)\.tar.*,\1,ip' | \
sort | \
tail -1
endef

@ -10,7 +10,7 @@ $(PKG)_URL := http://caml.inria.fr/pub/distrib/ocaml-$(call SHORT_PKG_VERSI
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
wget -q -O- 'http://caml.inria.fr/download.en.html' | \
$(WGET) -q -O- 'http://caml.inria.fr/download.en.html' | \
$(SED) -n 's,.*ocaml-\([0-9][^>]*\)\.tar.*,\1,p' | \
head -1
endef

@ -10,7 +10,7 @@ $(PKG)_URL := http://tech.motion-twin.com/zip/$($(PKG)_FILE)
$(PKG)_DEPS := ocaml-findlib
define $(PKG)_UPDATE
wget -q -O- 'http://tech.motion-twin.com/xmllight' | \
$(WGET) -q -O- 'http://tech.motion-twin.com/xmllight' | \
$(SED) -n 's,.*xml-light-\(.*\)\.zip.*,\1,ip' | \
head -1
endef

Loading…
Cancel
Save