Mercurial > mxe-octave
view src/freetds.mk @ 1919:f839103829f8
update package freetds
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Thu, 30 Jun 2011 11:30:20 +0200 |
parents | 61fa96634003 |
children | 2f582acd8c5a |
line wrap: on
line source
# This file is part of mingw-cross-env. # See doc/index.html for further information. # FreeTDS PKG := freetds $(PKG)_IGNORE := $(PKG)_VERSION := 0.91.dev.20110630RC2 $(PKG)_CHECKSUM := 177d008b6f9a7b7b82fd7c262cbaf3b3e92617da $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz $(PKG)_WEBSITE := http://www.freetds.org/ $(PKG)_URL := https://bitbucket.org/mabrand/mingw-cross-env/downloads/$($(PKG)_FILE) $(PKG)_DEPS := gcc libiconv gnutls define $(PKG)_UPDATE echo 'Warning: Updates are temporarily disabled for package freetds.' >&2; echo $(freetds_VERSION) endef define $(PKG)_UPDATE_orig wget -q -O- 'http://freetds.cvs.sourceforge.net/viewvc/freetds/freetds/' | \ grep '<option>R' | \ $(SED) -n 's,.*R\([0-9][0-9_]*\)<.*,\1,p' | \ $(SED) 's,_,.,g' | \ head -1 endef define $(PKG)_BUILD # wine confuses the cross-compiling detection, so set it explicitly $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure' cd '$(1)' && ./configure \ --prefix='$(PREFIX)/$(TARGET)' \ --host='$(TARGET)' \ --disable-rpath \ --disable-dependency-tracking \ --disable-shared \ --enable-static \ --enable-libiconv \ --enable-msdblib \ --enable-sspi \ --disable-threadsafe \ --with-tdsver=7.2 \ --with-gnutls \ PKG_CONFIG='$(TARGET)-pkg-config' $(MAKE) -C '$(1)' -j '$(JOBS)' install man_MANS= endef