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
63
64
65
66
67
|
# -*-makefile-*-
#
# Copyright (C) 2008 by SuperTux Team
#
# 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_SUPERTUX) += supertux
#
# Paths and names
#
SUPERTUX_VERSION := 0.1.3
SUPERTUX_MD5 := f2fc288459f33d5cd8f645fbca737a63
SUPERTUX := supertux-$(SUPERTUX_VERSION)
SUPERTUX_SUFFIX := tar.bz2
SUPERTUX_URL := http://download.berlios.de/supertux/$(SUPERTUX).$(SUPERTUX_SUFFIX)
SUPERTUX_SOURCE := $(SRCDIR)/$(SUPERTUX).$(SUPERTUX_SUFFIX)
SUPERTUX_DIR := $(BUILDDIR)/$(SUPERTUX)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
SUPERTUX_PATH := PATH=$(CROSS_PATH)
SUPERTUX_ENV := $(CROSS_ENV)
#
# autoconf
#
SUPERTUX_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--disable-opengl \
--with-sdl-prefix=$(SYSROOT)/usr
SUPERTUX_CXXFLAGS := -std=c++98
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/supertux.targetinstall:
@$(call targetinfo)
@$(call install_init, supertux)
@$(call install_fixup, supertux,PRIORITY,optional)
@$(call install_fixup, supertux,SECTION,base)
@$(call install_fixup, supertux,AUTHOR,"Marek Moeckel")
@$(call install_fixup, supertux,DESCRIPTION,missing)
@cd $(PKGDIR)/$(SUPERTUX); \
for file in `find -type f -perm 644`; do \
$(call install_copy, supertux, 0, 0, 0644, $(PKGDIR)/$(SUPERTUX)/$$file, /$$file, n); \
done
@$(call install_copy, supertux, 0, 0, 0755, $(PKGDIR)/$(SUPERTUX)/usr/bin/supertux, /usr/bin/supertux)
@$(call install_finish, supertux)
@$(call touch)
# vim: syntax=make
|