Mercurial > mxe-octave
comparison src/expat.mk @ 1462:61dda1d437e2
improved update script of packages: boost cppunit cunit expat freetype glew pcre pdcurses wxwidgets
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 01 Dec 2010 03:44:21 +0100 |
parents | 405738cf5761 |
children | 4cea167451b8 |
comparison
equal
deleted
inserted
replaced
1461:c7f82b5c65a2 | 1462:61dda1d437e2 |
---|---|
11 $(PKG)_WEBSITE := http://expat.sourceforge.net/ | 11 $(PKG)_WEBSITE := http://expat.sourceforge.net/ |
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/expat/expat/$($(PKG)_VERSION)/$($(PKG)_FILE) | 12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/expat/expat/$($(PKG)_VERSION)/$($(PKG)_FILE) |
13 $(PKG)_DEPS := gcc | 13 $(PKG)_DEPS := gcc |
14 | 14 |
15 define $(PKG)_UPDATE | 15 define $(PKG)_UPDATE |
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/expat/files/) | \ | 16 wget -q -O- 'http://sourceforge.net/projects/expat/files/expat/' | \ |
17 $(SED) -n 's,.*expat-\([0-9][^>]*\)\.tar.*,\1,p' | \ | 17 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ |
18 tail -1 | 18 head -1 |
19 endef | 19 endef |
20 | 20 |
21 define $(PKG)_BUILD | 21 define $(PKG)_BUILD |
22 cd '$(1)' && ./configure \ | 22 cd '$(1)' && ./configure \ |
23 --host='$(TARGET)' \ | 23 --host='$(TARGET)' \ |