]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - pkgs/core/directfb/directfb.nm
directfb: New package.
[people/arne_f/ipfire-3.x.git] / pkgs / core / directfb / directfb.nm
CommitLineData
86f7e98f
SS
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
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 $(PKGROOT)/Include
26
27PKG_NAME = DirectFB
28PKG_VER = 1.4.1
29PKG_REL = 0
30
31PKG_MAINTAINER =
32PKG_GROUP = System/Graphics
33PKG_URL = http://www.directfb.org/
34PKG_LICENSE = LGPLv2+
35PKG_SUMMARY = Graphics abstraction library for the Linux Framebuffer Device.
36
37PKG_DEPS += zlib
38
39define PKG_DESCRIPTION
40 DirectFB is a thin library that provides hardware graphics acceleration, \
41 input device handling and abstraction, integrated windowing system with \
42 support for translucent windows and multiple display layers on top of the \
43 Linux Framebuffer Device.
44endef
45
46PKG_TARBALL = $(THISAPP).tar.gz
47
48ifneq "$(TARGET)" "i686"
49ifneq "$(TARGET)" "i586"
50ifneq "$(TARGET)" "i486"
51 CONFIGURE_ARGS = --disable-mmx --disable-sse
52endif
53endif
54endif
55
56CONFIGURE_OPTIONS += \
57 --disable-x11 \
58 --enable-sdl \
59 --enable-video4linux2 \
60 --enable-libv412 \
61 --enable-zlib \
62 $(CONFIGURE_ARGS)
63
64define STAGE_INSTALL_CMDS
65 find $(BUILDROOT)/usr/lib/directfb*/ -name "*.la" -exec rm -vf {} \;
66endef