2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2011-05-01 15:47:26 +01:00
|
|
|
|
|
|
|
PKG := t4k_common
|
2017-03-05 03:41:39 +00:00
|
|
|
$(PKG)_WEBSITE := https://tux4kids.alioth.debian.org/
|
2011-05-01 15:47:26 +01:00
|
|
|
$(PKG)_IGNORE :=
|
2013-07-21 22:26:40 +01:00
|
|
|
$(PKG)_VERSION := 0.1.1
|
2015-09-23 09:32:58 +01:00
|
|
|
$(PKG)_CHECKSUM := 42c155816dae2c5dad560faa50edaa1ca84536530283d37859c4b91e82675110
|
2011-05-01 15:49:18 +01:00
|
|
|
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
|
|
|
$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
|
2017-03-05 03:41:39 +00:00
|
|
|
$(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/tuxmath/$(PKG)/$($(PKG)_FILE)
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc libpng librsvg libxml2 pthreads sdl sdl_image sdl_mixer sdl_net sdl_pango sdl_ttf
|
2011-05-01 15:47:26 +01:00
|
|
|
|
2011-05-01 15:49:18 +01:00
|
|
|
define $(PKG)_UPDATE
|
2017-03-05 03:41:39 +00:00
|
|
|
$(WGET) -q -O- 'https://alioth.debian.org/frs/?group_id=31080' | \
|
2011-05-01 15:49:18 +01:00
|
|
|
$(SED) -n 's,.*t4k_common-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
|
|
|
head -1
|
|
|
|
endef
|
2011-05-01 15:47:26 +01:00
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
|
|
|
cd '$(1)' && ./configure \
|
|
|
|
--host='$(TARGET)' \
|
|
|
|
--disable-shared \
|
2011-05-01 15:49:18 +01:00
|
|
|
--prefix='$(PREFIX)/$(TARGET)' \
|
|
|
|
--with-sdlpango \
|
|
|
|
--with-sdlnet \
|
|
|
|
--with-rsvg
|
2011-05-01 15:47:26 +01:00
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
|
|
|
endef
|
2014-04-06 14:18:15 +01:00
|
|
|
|
|
|
|
$(PKG)_BUILD_SHARED =
|