diff options
author | Luis Saavedra <luis94855510@gmail.com> | 2012-02-03 14:49:28 (GMT) |
---|---|---|
committer | Luis Saavedra <luis94855510@gmail.com> | 2012-02-03 14:49:28 (GMT) |
commit | b34af7ff54a6072e657942ff23081948f9576140 (patch) | |
tree | d6918d0c2e0a2021da7f1dd18b5c5a05d834ea4b /src/wt.mk | |
parent | c04f64bc515cfd9b4a1473db05d18cec5fbf3e68 (diff) | |
download | mxe-b34af7ff54a6072e657942ff23081948f9576140.zip mxe-b34af7ff54a6072e657942ff23081948f9576140.tar.gz mxe-b34af7ff54a6072e657942ff23081948f9576140.tar.bz2 |
new packages: libharu wt
Diffstat (limited to 'src/wt.mk')
-rw-r--r-- | src/wt.mk | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/wt.mk b/src/wt.mk new file mode 100644 index 0000000..604eaaa --- /dev/null +++ b/src/wt.mk @@ -0,0 +1,34 @@ +# This file is part of mingw-cross-env. +# See doc/index.html for further information. + +# Wt +PKG := wt +$(PKG)_IGNORE := +$(PKG)_VERSION := 3.2.0 +$(PKG)_CHECKSUM := 38cf20980f16b0970c42ace45fd62edb28b6358b +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://witty.sourceforge.net/ +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/witty/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc boost openssl libharu graphicsmagick pango postgresql sqlite qt + +define $(PKG)_UPDATE + wget -q -O- 'http://sourceforge.net/projects/witty/files/witty/' | \ + $(SED) -n 's,.*wt-\([0-9][^>]*\)\.tar.*,\1,p' | \ + tail -1 +endef + +define $(PKG)_BUILD + mkdir '$(1)/build' + cd '$(1)/build' && cmake .. \ + -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ + -DCMAKE_BUILD_TYPE:STRING="Release" \ + -DBOOST_PREFIX='$(PREFIX)/$(TARGET)' \ + -DBOOST_COMPILER=_win32 \ + -DSSL_PREFIX='$(PREFIX)/$(TARGET)' \ + -DOPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \ + -DGM_PREFIX='$(PREFIX)/$(TARGET)' \ + -DGM_LIBS="`'$(TARGET)-pkg-config' --libs-only-l GraphicsMagick++`" \ + -DPANGO_FT2_LIBS="`'$(TARGET)-pkg-config' --libs-only-l pangoft2`" + $(MAKE) -C '$(1)/build' -j '$(JOBS)' install VERBOSE=1 +endef |