diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-03-23 11:28:22 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-03-23 11:28:22 (GMT) |
commit | c461d3ddbc3dd18742f21f74f4af38bc53b014d7 (patch) | |
tree | 7a1da041fad38eed9662c4d05ee91299532d488b /src | |
parent | ec79408f71e36fab716f943760a5cdbead6c2834 (diff) | |
download | mxe-c461d3ddbc3dd18742f21f74f4af38bc53b014d7.zip mxe-c461d3ddbc3dd18742f21f74f4af38bc53b014d7.tar.gz mxe-c461d3ddbc3dd18742f21f74f4af38bc53b014d7.tar.bz2 |
package portmidi: add update macro
Diffstat (limited to 'src')
-rw-r--r-- | src/portmidi.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/portmidi.mk b/src/portmidi.mk index ba61daf..0340693 100644 --- a/src/portmidi.mk +++ b/src/portmidi.mk @@ -10,8 +10,10 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/portmedia/$(PKG)/$($(PKG $(PKG)_DEPS := gcc define $(PKG)_UPDATE - echo 'TODO: Updates for package portmidi need to be fixed.' >&2; - echo $(portmidi_VERSION) + $(WGET) -q -O- "http://sourceforge.net/projects/portmedia/files/portmidi/" | \ + grep -i 'portmedia/files/portmidi' | \ + $(SED) -n 's,.*portmidi/\([0-9]*\)/.*,\1,p' | \ + head -1 endef define $(PKG)_BUILD |