summaryrefslogtreecommitdiffstats
path: root/src/gdb.mk
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2011-08-25 15:56:48 (GMT)
committerMark Brand <mabrand@mabrand.nl>2011-08-25 15:56:48 (GMT)
commit284a8e6e26457184d36b92c3c18f1fcdf6f9d2cb (patch)
tree4f5eb0103b4eef4c81732fdc558cb398b1bd754f /src/gdb.mk
parent34cab6ea1a30be96d4f009e0ad24e3468ff50765 (diff)
downloadmxe-284a8e6e26457184d36b92c3c18f1fcdf6f9d2cb.zip
mxe-284a8e6e26457184d36b92c3c18f1fcdf6f9d2cb.tar.gz
mxe-284a8e6e26457184d36b92c3c18f1fcdf6f9d2cb.tar.bz2
package gdb: improve update macro
Diffstat (limited to 'src/gdb.mk')
-rw-r--r--src/gdb.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gdb.mk b/src/gdb.mk
index 1bf93f9..633ff7f 100644
--- a/src/gdb.mk
+++ b/src/gdb.mk
@@ -15,6 +15,7 @@ $(PKG)_DEPS := gcc expat libiconv zlib
define $(PKG)_UPDATE
wget -q -O- 'http://ftp.gnu.org/gnu/gdb/?C=M;O=D' | \
$(SED) -n 's,.*<a href="gdb-\([0-9][^"]*\)\.tar.*,\1,p' | \
+ sort -r |\
head -1
endef