1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# -*-makefile-*-
#
# Copyright (C) 2009 by Markus Rathgeb <rathgeb.markus@googlemail.com>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_SDL_GFX) += sdl-gfx
#
# Paths and names
#
SDL_GFX_VERSION := 2.0.20
SDL_GFX_MD5 := 8a787e538a8e4d80d4927535be5af083
SDL_GFX := SDL_gfx-$(SDL_GFX_VERSION)
SDL_GFX_SUFFIX := tar.gz
SDL_GFX_URL := http://www.ferzkopp.net/Software/SDL_gfx-2.0/$(SDL_GFX).$(SDL_GFX_SUFFIX)
SDL_GFX_SOURCE := $(SRCDIR)/$(SDL_GFX).$(SDL_GFX_SUFFIX)
SDL_GFX_DIR := $(BUILDDIR)/$(SDL_GFX)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
SDL_GFX_PATH := PATH=$(CROSS_PATH)
SDL_GFX_ENV := $(CROSS_ENV)
#
# autoconf
#
SDL_GFX_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--with-sdl-prefix=$(SYSROOT)/usr \
--disable-mmx \
--disable-sdltest
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/sdl-gfx.targetinstall:
@$(call targetinfo)
@$(call install_init, sdl-gfx)
@$(call install_fixup, sdl-gfx,PRIORITY,optional)
@$(call install_fixup, sdl-gfx,SECTION,base)
@$(call install_fixup, sdl-gfx,AUTHOR,"Markus Rathgeb <rathgeb.markus@googlemail.com>")
@$(call install_fixup, sdl-gfx,DESCRIPTION,missing)
@$(call install_lib, sdl-gfx, 0, 0, 0644, libSDL_gfx)
@$(call install_finish, sdl-gfx)
@$(call touch)
# vim: syntax=make
|