Permalink
Browse files

package sdl_net: fix update macro

  • Loading branch information...
1 parent 9459702 commit 7645c6096577abed5d2d8f2337a053ce2d601cc1 @tonytheodore tonytheodore committed Apr 16, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/sdl_net.mk
View
5 src/sdl_net.mk
@@ -10,9 +10,8 @@ $(PKG)_URL := http://www.libsdl.org/projects/SDL_net/release/$($(PKG)_FILE)
$(PKG)_DEPS := gcc sdl
define $(PKG)_UPDATE
- wget -q -O- 'http://www.libsdl.org/cgi/viewvc.cgi/tags/SDL_net/?sortby=date' | \
- grep '<a name="' | \
- $(SED) -n 's,.*<a name="release-\([0-9][^"]*\)".*,\1,p' | \
+ wget -q -O- 'http://www.libsdl.org/projects/SDL_net/release/?C=M;O=D' | \
+ $(SED) -n 's,.*SDL_net-\([0-9][^>]*\)\.tar.*,\1,p' | \
head -1
endef

0 comments on commit 7645c60

Please sign in to comment.