From bfe15253afcd260a2c9f454ffcd7eae28717d1c1 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sat, 24 Aug 2013 21:02:24 +1000 Subject: add optional native autotools bison cmake flex libtool packages --- index.html | 20 ++++++++++++++++++++ src/autoconf.mk | 24 ++++++++++++++++++++++++ src/automake.mk | 27 +++++++++++++++++++++++++++ src/bison.mk | 24 ++++++++++++++++++++++++ src/cmake.mk | 24 ++++++++++++++++++++++++ src/flex.mk | 24 ++++++++++++++++++++++++ src/libtool.mk | 8 ++++++++ 7 files changed, 151 insertions(+) create mode 100644 src/autoconf.mk create mode 100644 src/automake.mk create mode 100644 src/bison.mk create mode 100644 src/cmake.mk create mode 100644 src/flex.mk diff --git a/index.html b/index.html index b358c67..12530ea 100644 --- a/index.html +++ b/index.html @@ -1099,6 +1099,14 @@ local-pkg-list: $(LOCAL_PKG_LIST) aubio + autoconf + autoconf + + + automake + automake + + bfd Binary File Descriptor library @@ -1107,6 +1115,10 @@ local-pkg-list: $(LOCAL_PKG_LIST) GNU Binutils + bison + bison + + blas blas @@ -1143,6 +1155,10 @@ local-pkg-list: $(LOCAL_PKG_LIST) cgal + cmake + cmake + + cminpack cminpack @@ -1207,6 +1223,10 @@ local-pkg-list: $(LOCAL_PKG_LIST) FLANN + flex + flex + + fltk FLTK diff --git a/src/autoconf.mk b/src/autoconf.mk new file mode 100644 index 0000000..b1defb1 --- /dev/null +++ b/src/autoconf.mk @@ -0,0 +1,24 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := autoconf +$(PKG)_IGNORE := +$(PKG)_VERSION := 2.69 +$(PKG)_CHECKSUM := e891c3193029775e83e0534ac0ee0c4c711f6d23 +$(PKG)_SUBDIR := autoconf-$($(PKG)_VERSION) +$(PKG)_FILE := autoconf-$($(PKG)_VERSION).tar.xz +$(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/autoconf/$($(PKG)_FILE) +$(PKG)_DEPS := + +define $(PKG)_UPDATE + echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; + echo $($(PKG)_VERSION) +endef + +define $(PKG)_BUILD_NATIVE + mkdir '$(1).build' + cd '$(1).build' && '$(1)/configure' \ + --prefix='$(PREFIX)' + $(MAKE) -C '$(1).build' -j '$(JOBS)' + $(MAKE) -C '$(1).build' -j 1 install +endef diff --git a/src/automake.mk b/src/automake.mk new file mode 100644 index 0000000..5b72e18 --- /dev/null +++ b/src/automake.mk @@ -0,0 +1,27 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := automake +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.13.2 +$(PKG)_CHECKSUM := 72ee9fcd180c54fd7c067155d85fa071a99c3ea3 +$(PKG)_SUBDIR := automake-$($(PKG)_VERSION) +$(PKG)_FILE := automake-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/automake/$($(PKG)_FILE) +$(PKG)_DEPS := + +# depends on autoconf, but we can assume it's available +# for this temporary case of 1.14 issues. + +define $(PKG)_UPDATE + echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; + echo $($(PKG)_VERSION) +endef + +define $(PKG)_BUILD_NATIVE + mkdir '$(1).build' + cd '$(1).build' && '$(1)/configure' \ + --prefix='$(PREFIX)' + $(MAKE) -C '$(1).build' -j '$(JOBS)' + $(MAKE) -C '$(1).build' -j 1 install +endef diff --git a/src/bison.mk b/src/bison.mk new file mode 100644 index 0000000..94d89e2 --- /dev/null +++ b/src/bison.mk @@ -0,0 +1,24 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := bison +$(PKG)_IGNORE := +$(PKG)_VERSION := 2.7.1 +$(PKG)_CHECKSUM := 00ab1b32d864622077c311e4f5420d4e2931fdc8 +$(PKG)_SUBDIR := bison-$($(PKG)_VERSION) +$(PKG)_FILE := bison-$($(PKG)_VERSION).tar.xz +$(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) +endef + +define $(PKG)_BUILD_NATIVE + mkdir '$(1).build' + cd '$(1).build' && '$(1)/configure' \ + --prefix='$(PREFIX)' + $(MAKE) -C '$(1).build' -j '$(JOBS)' + $(MAKE) -C '$(1).build' -j 1 install +endef diff --git a/src/cmake.mk b/src/cmake.mk new file mode 100644 index 0000000..6cd54e7 --- /dev/null +++ b/src/cmake.mk @@ -0,0 +1,24 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := cmake +$(PKG)_IGNORE := +$(PKG)_VERSION := 2.8.9 +$(PKG)_CHECKSUM := b96663c0757a5edfbddc410aabf7126a92131e2b +$(PKG)_SUBDIR := cmake-$($(PKG)_VERSION) +$(PKG)_FILE := cmake-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := http://www.cmake.org/files/v2.8/$($(PKG)_FILE) +$(PKG)_DEPS := + +define $(PKG)_UPDATE + echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; + echo $($(PKG)_VERSION) +endef + +define $(PKG)_BUILD_NATIVE + mkdir '$(1).build' + cd '$(1).build' && '$(1)/configure' \ + --prefix='$(PREFIX)' + $(MAKE) -C '$(1).build' -j '$(JOBS)' + $(MAKE) -C '$(1).build' -j 1 install +endef diff --git a/src/flex.mk b/src/flex.mk new file mode 100644 index 0000000..99baf0b --- /dev/null +++ b/src/flex.mk @@ -0,0 +1,24 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := flex +$(PKG)_IGNORE := +$(PKG)_VERSION := 2.5.37 +$(PKG)_CHECKSUM := db4b140f2aff34c6197cab919828cc4146aae218 +$(PKG)_SUBDIR := flex-$($(PKG)_VERSION) +$(PKG)_FILE := flex-$($(PKG)_VERSION).tar.bz2 +$(PKG)_URL := http://prdownloads.sourceforge.net/flex/$($(PKG)_FILE) +$(PKG)_DEPS := + +define $(PKG)_UPDATE + echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; + echo $($(PKG)_VERSION) +endef + +define $(PKG)_BUILD_NATIVE + mkdir '$(1).build' + cd '$(1).build' && '$(1)/configure' \ + --prefix='$(PREFIX)' + $(MAKE) -C '$(1).build' -j '$(JOBS)' + $(MAKE) -C '$(1).build' -j 1 install +endef diff --git a/src/libtool.mk b/src/libtool.mk index 558a6dd..1a2c10f 100644 --- a/src/libtool.mk +++ b/src/libtool.mk @@ -16,6 +16,14 @@ define $(PKG)_UPDATE head -1 endef +define $(PKG)_BUILD_NATIVE + mkdir '$(1).build' + cd '$(1).build' && '$(1)/configure' \ + --prefix='$(PREFIX)' + $(MAKE) -C '$(1).build' -j '$(JOBS)' + $(MAKE) -C '$(1).build' -j 1 install +endef + define $(PKG)_BUILD cd '$(1)/libltdl' && ./configure \ --host='$(TARGET)' \ -- cgit v0.12