2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2009-11-09 01:36:50 +00:00
|
|
|
|
|
|
|
PKG := freetds
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_WEBSITE := http://www.freetds.org/
|
|
|
|
$(PKG)_DESCR := FreeTDS
|
2009-11-09 01:36:50 +00:00
|
|
|
$(PKG)_IGNORE :=
|
2016-12-14 17:27:44 +00:00
|
|
|
$(PKG)_VERSION := 1.00.23
|
|
|
|
$(PKG)_CHECKSUM := 1be0cedc4ad026c28633c6587e84e35844dfa4e05e6779eae6d475572a64d36f
|
2011-05-10 12:27:32 +01:00
|
|
|
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
2015-06-18 12:27:31 +01:00
|
|
|
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
|
2015-08-25 10:23:47 +01:00
|
|
|
$(PKG)_URL := ftp://ftp.freetds.org/pub/$(PKG)/stable/$($(PKG)_FILE)
|
2016-12-17 00:24:05 +00:00
|
|
|
$(PKG)_URL_2 := https://fossies.org/linux/privat/$($(PKG)_FILE)
|
2015-09-23 08:41:16 +01:00
|
|
|
$(PKG)_DEPS := gcc gnutls libiconv
|
2009-11-09 01:36:50 +00:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2015-12-02 11:44:15 +00:00
|
|
|
$(WGET) -q -O- 'ftp://ftp.freetds.org/pub/freetds/stable/' | \
|
|
|
|
$(SED) -n 's,.*freetds-\([0-9.]*\)\.tar.*,\1,p' | \
|
|
|
|
$(SORT) -V | \
|
|
|
|
tail -1
|
2009-11-09 01:36:50 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
|
|
|
cd '$(1)' && ./configure \
|
2014-02-09 12:29:51 +00:00
|
|
|
$(MXE_CONFIGURE_OPTS) \
|
2009-11-09 01:36:50 +00:00
|
|
|
--disable-rpath \
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
--enable-libiconv \
|
|
|
|
--enable-msdblib \
|
2010-08-17 19:55:16 +01:00
|
|
|
--enable-sspi \
|
2010-05-02 16:58:37 +01:00
|
|
|
--disable-threadsafe \
|
2011-03-22 09:10:37 +00:00
|
|
|
--with-tdsver=7.2 \
|
2014-02-17 05:01:50 +00:00
|
|
|
--with-gnutls \
|
2011-03-25 18:33:10 +00:00
|
|
|
PKG_CONFIG='$(TARGET)-pkg-config'
|
2010-09-12 11:44:12 +01:00
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install man_MANS=
|
2009-11-09 01:36:50 +00:00
|
|
|
endef
|