diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-03-23 11:18:38 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-03-23 11:18:38 (GMT) |
commit | 284e91c8141087e3fe20b6325d966972baabb5c2 (patch) | |
tree | 811939678c6ee26c5c73cf2fdc40533de70108dd /src/portablexdr.mk | |
parent | dff5a376a1b3a0145f888357e35223b86a8d3e40 (diff) | |
download | mxe-284e91c8141087e3fe20b6325d966972baabb5c2.zip mxe-284e91c8141087e3fe20b6325d966972baabb5c2.tar.gz mxe-284e91c8141087e3fe20b6325d966972baabb5c2.tar.bz2 |
package portablexdr: add update macro
Diffstat (limited to 'src/portablexdr.mk')
-rw-r--r-- | src/portablexdr.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/portablexdr.mk b/src/portablexdr.mk index bf07a6b..6dda198 100644 --- a/src/portablexdr.mk +++ b/src/portablexdr.mk @@ -10,8 +10,10 @@ $(PKG)_URL := http://people.redhat.com/~rjones/portablexdr/files/$($(PKG)_F $(PKG)_DEPS := gcc define $(PKG)_UPDATE - echo 'TODO: write update script for $(PKG).' >&2; - echo $($(PKG)_VERSION) + $(WGET) -q -O- "http://people.redhat.com/~rjones/portablexdr/files/?C=M;O=D" | \ + grep -i '<a href=.*tar' | \ + $(SED) -n 's,.*portablexdr-\([0-9][^>]*\)\.tar.*,\1,p' | \ + head -1 endef define $(PKG)_BUILD |