diff options
author | Tony Theodore <tonyt@logyst.com> | 2012-05-02 13:32:07 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2012-05-02 13:32:07 (GMT) |
commit | 6f60335f4f52422d4e67cd6fc8b3d8ca7af1521e (patch) | |
tree | 35a65abf34c4201f6b6690887b13de010e8a9d03 /src | |
parent | 1ca4d90c7a0eae9be995627bcd1fff915b294929 (diff) | |
parent | 6a17de0c04536cda3e70af30ce17da7940679a29 (diff) | |
download | mxe-6f60335f4f52422d4e67cd6fc8b3d8ca7af1521e.zip mxe-6f60335f4f52422d4e67cd6fc8b3d8ca7af1521e.tar.gz mxe-6f60335f4f52422d4e67cd6fc8b3d8ca7af1521e.tar.bz2 |
Merge branch 'new-packages'
Diffstat (limited to 'src')
-rw-r--r-- | src/libgda.mk | 34 | ||||
-rw-r--r-- | src/libgdamm.mk | 28 | ||||
-rw-r--r-- | src/mdbtools-1-header.patch | 15 | ||||
-rw-r--r-- | src/mdbtools.mk | 26 |
4 files changed, 103 insertions, 0 deletions
diff --git a/src/libgda.mk b/src/libgda.mk new file mode 100644 index 0000000..d13d24d --- /dev/null +++ b/src/libgda.mk @@ -0,0 +1,34 @@ +# This file is part of MXE. +# See index.html for further information. + +# LibGDA +PKG := libgda +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := 61d0b498202b780750633cc2e957c40325d6c705 +$(PKG)_SUBDIR := libgda-$($(PKG)_VERSION) +$(PKG)_FILE := libgda-$($(PKG)_VERSION).tar.xz +$(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/libgda/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) +$(PKG)_DEPS := gcc glib libxml2 mdbtools postgresql + +define $(PKG)_UPDATE + echo 'TODO: Updates for package libgda need to be fixed.' >&2; + echo $(libgda_VERSION) +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --prefix='$(PREFIX)/$(TARGET)' \ + --disable-shared \ + --disable-gtk-doc \ + --without-bdb \ + --with-mdb \ + --without-oracle \ + --without-mysql \ + --without-firebird \ + --without-java \ + --enable-binreloc \ + --disable-crypto + $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= + $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef diff --git a/src/libgdamm.mk b/src/libgdamm.mk new file mode 100644 index 0000000..e2e3d30 --- /dev/null +++ b/src/libgdamm.mk @@ -0,0 +1,28 @@ +# This file is part of MXE. +# See index.html for further information. + +# libgdamm +PKG := libgdamm +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := f6126d7b46720e3ea4f3d49e03add2e52da233be +$(PKG)_SUBDIR := libgdamm-$($(PKG)_VERSION) +$(PKG)_FILE := libgdamm-$($(PKG)_VERSION).tar.xz +$(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/libgdamm/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) +$(PKG)_DEPS := gcc libgda glibmm + +define $(PKG)_UPDATE + echo 'TODO: Updates for package libgdamm need to be fixed.' >&2; + echo $(libgdamm_VERSION) +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --build="`config.guess`" \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' \ + CXX='$(TARGET)-c++' \ + PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config' \ + MAKE=$(MAKE) + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef diff --git a/src/mdbtools-1-header.patch b/src/mdbtools-1-header.patch new file mode 100644 index 0000000..90874c5 --- /dev/null +++ b/src/mdbtools-1-header.patch @@ -0,0 +1,15 @@ +This file is part of MXE. +See index.html for further information. + +diff -ur mdbtools-0.6pre1-orig//include/mdbtools.h mdbtools-0.6pre1//include/mdbtools.h +--- mdbtools-0.6pre1-orig//include/mdbtools.h 2011-06-01 00:07:12.336088034 +0900 ++++ mdbtools-0.6pre1//include/mdbtools.h 2011-06-01 00:10:51.536088143 +0900 +@@ -147,7 +147,7 @@ + #define IS_JET3(mdb) (mdb->f->jet_version==MDB_VER_JET3) + + /* hash to store registered backends */ +-extern GHashTable *mdb_backends; ++static GHashTable *mdb_backends; + + /* forward declarations */ + typedef struct mdbindex MdbIndex; diff --git a/src/mdbtools.mk b/src/mdbtools.mk new file mode 100644 index 0000000..a6082b6 --- /dev/null +++ b/src/mdbtools.mk @@ -0,0 +1,26 @@ +# This file is part of MXE. +# See index.html for further information. + +# mdbtools +PKG := mdbtools +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := 37a50d623a444ec690d2677b12b59c2f11e497c0 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc glib + +define $(PKG)_UPDATE + wget -q -O- 'http://sourceforge.net/projects/mdbtools/files/mdbtools/' | \ + $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' \ + PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config' + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= html_DATA= +endef |