]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - lfs/directfb
Changed name to IPFire-3.0-alpha1 (Lechery).
[people/arne_f/ipfire-3.x.git] / lfs / directfb
CommitLineData
a3c1fce0
MT
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
ab431d3a 4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
a3c1fce0
MT
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include Config
26
27PKG_NAME = DirectFB
8985a698
MT
28PKG_VER = 1.0.1
29PKG_REL = 0
a3c1fce0 30
8985a698 31THISAPP = $(PKG_NAME)-$(PKG_VER)
a3c1fce0
MT
32DL_FILE = $(THISAPP).tar.gz
33DIR_APP = $(DIR_SRC)/$(THISAPP)
34
6679675b 35OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
a3c1fce0 36
ab431d3a
MT
37MAINTAINER =
38GROUP = System/Graphics
39EXTRA = no
40DEBUG = no
41DEPS =
42
43URL = http://www.directfb.org/
44LICENSE = LGPLv2+
45SHORT_DESC = Graphics abstraction library for the Linux Framebuffer Device.
46
47define LONG_DESC
48 DirectFB is a thin library that provides hardware graphics acceleration, \
49 input device handling and abstraction, integrated windowing system with \
50 support for translucent windows and multiple display layers on top of the \
51 Linux Framebuffer Device.
52endef
53
a3c1fce0
MT
54###############################################################################
55# Top-level Rules
56###############################################################################
57
58objects = $(DL_FILE)
59
ab431d3a
MT
60download: $(objects)
61
5d9edcbf
MT
62info:
63 $(DO_PKG_INFO)
64
6679675b 65install: $(OBJECT)
a3c1fce0 66
ab431d3a
MT
67package:
68 @$(DO_PACKAGE)
a3c1fce0 69
ab431d3a 70$(objects):
a3c1fce0
MT
71 @$(LOAD)
72
73###############################################################################
74# Installation Details
75###############################################################################
76
ab431d3a 77$(OBJECT): $(objects)
a3c1fce0 78 @$(PREBUILD)
ab431d3a 79 @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
a3c1fce0 80
ab431d3a
MT
81 cd $(DIR_APP) && \
82 ./configure \
c9b0799c 83 $(CONFIGURE_ARCH) \
a3c1fce0
MT
84 --prefix=/usr \
85 --disable-x11 \
86 --enable-sdl \
0a58ff7d 87 --enable-video4linux2
a3c1fce0
MT
88 cd $(DIR_APP) && make $(PARALLELISMFLAGS)
89 cd $(DIR_APP) && make install
90
91 @rm -rf $(DIR_APP)
92 @$(POSTBUILD)