diff options
Diffstat (limited to 'src/portmidi.mk')
-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 |