2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2010-04-15 01:23:55 +01:00
|
|
|
|
|
|
|
PKG := gc
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_WEBSITE := http://www.hpl.hp.com/personal/Hans_Boehm/gc/
|
2010-04-15 01:23:55 +01:00
|
|
|
$(PKG)_IGNORE :=
|
2013-11-17 14:12:30 +00:00
|
|
|
$(PKG)_VERSION := 7.2e
|
2015-09-23 09:32:58 +01:00
|
|
|
$(PKG)_CHECKSUM := 09315b48a82d600371207691126ad058c04677281ac318d86fa84c98c3c9af4b
|
2012-05-25 14:49:17 +01:00
|
|
|
$(PKG)_SUBDIR := $(PKG)-7.2
|
2010-04-15 01:23:55 +01:00
|
|
|
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
2017-03-05 03:41:39 +00:00
|
|
|
$(PKG)_URL := https://hboehm.info/$(PKG)/$(PKG)_source/$($(PKG)_FILE)
|
2010-04-15 01:23:55 +01:00
|
|
|
$(PKG)_DEPS := gcc
|
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2017-03-05 03:41:39 +00:00
|
|
|
$(WGET) -q -O- 'https://hboehm.info/gc/gc_source/' | \
|
2010-04-15 01:23:55 +01:00
|
|
|
grep '<a href="gc-' | \
|
|
|
|
$(SED) -n 's,.*<a href="gc-\([0-9][^"]*\)\.tar.*,\1,p' | \
|
|
|
|
grep -v 'alpha' | \
|
2014-08-30 00:55:22 +01:00
|
|
|
$(SORT) -Vr | \
|
2010-04-15 01:23:55 +01:00
|
|
|
head -1
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
|
|
|
cd '$(1)' && ./configure \
|
|
|
|
--host='$(TARGET)' \
|
2012-05-14 08:04:28 +01:00
|
|
|
--build="`config.guess`" \
|
2010-04-15 01:23:55 +01:00
|
|
|
--prefix='$(PREFIX)/$(TARGET)' \
|
|
|
|
--disable-shared \
|
|
|
|
--enable-threads=win32 \
|
|
|
|
--enable-cplusplus
|
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
|
|
|
$(MAKE) -C '$(1)' -j 1 install
|
|
|
|
endef
|
2014-04-06 14:18:15 +01:00
|
|
|
|
|
|
|
$(PKG)_BUILD_SHARED =
|