]>
Commit | Line | Data |
---|---|---|
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 | ||
25 | include Config | |
26 | ||
27 | PKG_NAME = DirectFB | |
0a58ff7d | 28 | VER = 1.0.1 |
ab431d3a | 29 | PKG_VER = 0 |
a3c1fce0 MT |
30 | |
31 | THISAPP = $(PKG_NAME)-$(VER) | |
32 | DL_FILE = $(THISAPP).tar.gz | |
33 | DIR_APP = $(DIR_SRC)/$(THISAPP) | |
34 | ||
6679675b | 35 | OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) |
a3c1fce0 | 36 | |
ab431d3a MT |
37 | MAINTAINER = |
38 | GROUP = System/Graphics | |
39 | EXTRA = no | |
40 | DEBUG = no | |
41 | DEPS = | |
42 | ||
43 | URL = http://www.directfb.org/ | |
44 | LICENSE = LGPLv2+ | |
45 | SHORT_DESC = Graphics abstraction library for the Linux Framebuffer Device. | |
46 | ||
47 | define 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. | |
52 | endef | |
53 | ||
a3c1fce0 MT |
54 | ############################################################################### |
55 | # Top-level Rules | |
56 | ############################################################################### | |
57 | ||
58 | objects = $(DL_FILE) | |
59 | ||
ab431d3a MT |
60 | download: $(objects) |
61 | ||
5d9edcbf MT |
62 | info: |
63 | $(DO_PKG_INFO) | |
64 | ||
6679675b | 65 | install: $(OBJECT) |
a3c1fce0 | 66 | |
ab431d3a MT |
67 | package: |
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) |