diff options
Diffstat (limited to 'src/bison.mk')
-rw-r--r-- | src/bison.mk | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/bison.mk b/src/bison.mk index 94d89e2..e1faf71 100644 --- a/src/bison.mk +++ b/src/bison.mk @@ -2,7 +2,7 @@ # See index.html for further information. PKG := bison -$(PKG)_IGNORE := +$(PKG)_IGNORE := 3% $(PKG)_VERSION := 2.7.1 $(PKG)_CHECKSUM := 00ab1b32d864622077c311e4f5420d4e2931fdc8 $(PKG)_SUBDIR := bison-$($(PKG)_VERSION) @@ -11,14 +11,16 @@ $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/bison/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE - echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; - echo $($(PKG)_VERSION) + $(WGET) -q -O- 'http://ftp.gnu.org/gnu/bison/?C=M;O=D' | \ + $(SED) -n 's,.*<a href="bison-\([0-9][^"]*\)\.tar.*,\1,p' | \ + $(SORT) -V | \ + tail -1 endef -define $(PKG)_BUILD_NATIVE +define $(PKG)_BUILD_NONE mkdir '$(1).build' cd '$(1).build' && '$(1)/configure' \ - --prefix='$(PREFIX)' + --prefix='$(PREFIX)/$(TARGET)' $(MAKE) -C '$(1).build' -j '$(JOBS)' $(MAKE) -C '$(1).build' -j 1 install endef |