diff options
author | Martin Gerhardy <martin.gerhardy@gmail.com> | 2015-09-04 14:07:05 (GMT) |
---|---|---|
committer | Martin Gerhardy <mgerhardy@bigpoint.net> | 2016-03-04 08:39:24 (GMT) |
commit | e11179655df86ddde4ccae92ed0c9f6fbcc9698e (patch) | |
tree | 9d782e4323210425137ff4cb6a1ae83670bcfbae /src/subversion.mk | |
parent | c3624cdefb7ff0c4b69316c7c1b740b97f55e1db (diff) | |
download | mxe-e11179655df86ddde4ccae92ed0c9f6fbcc9698e.zip mxe-e11179655df86ddde4ccae92ed0c9f6fbcc9698e.tar.gz mxe-e11179655df86ddde4ccae92ed0c9f6fbcc9698e.tar.bz2 |
new package subversion
Diffstat (limited to 'src/subversion.mk')
-rw-r--r-- | src/subversion.mk | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/subversion.mk b/src/subversion.mk new file mode 100644 index 0000000..2ae1421 --- /dev/null +++ b/src/subversion.mk @@ -0,0 +1,49 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := subversion +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.9.2 +$(PKG)_CHECKSUM := 023da881139b4514647b6f8a830a244071034efcaad8c8e98c6b92393122b4eb +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 +$(PKG)_URL := http://mirror.23media.de/apache/$(PKG)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc apr apr-util sqlite openssl + +define $(PKG)_UPDATE + $(WGET) -q -O- 'http://subversion.apache.org/download.cgi' | \ + $(SED) -n 's,.*#recommended-release">\([0-9][^<]*\)<.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && PKG_CONFIG=$(PREFIX)/bin/$(TARGET)-pkg-config && ./autogen.sh && ./configure \ + $(MXE_CONFIGURE_OPTS) \ + --disable-shared \ + --disable-mod-activation \ + --without-serf \ + --without-apr_memcache \ + --without-apxs \ + --without-jdk \ + --without-jikes \ + --without-swig \ + --with-sysroot=$(PREFIX)/$(TARGET) \ + --disable-javahl \ + --disable-nls \ + --without-gpg-agent \ + --with-gnome-keyring=no \ + PKG_CONFIG=$(PREFIX)/bin/$(TARGET)-pkg-config \ + --with-apr='$(PREFIX)/$(TARGET)' \ + --with-apr-util='$(PREFIX)/$(TARGET)' + $(MAKE) -C '$(1)' -j '$(JOBS)' \ + install-fsmod-lib install-ramod-lib install-lib install-include \ + LDFLAGS="-lversion -lole32 -luuid -no-undefined" \ + pkgconfig_dir="$(PREFIX)/$(TARGET)/lib/pkgconfig" \ + install + '$(TARGET)-gcc' \ + -mwindows -W -Wall -Werror -pedantic \ + '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-subversion.exe' \ + `'$(TARGET)-pkg-config' libsvn_client --cflags --libs` -lole32 +endef + +$(PKG)_BUILD_SHARED = |