1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
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. #
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. #
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/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
32 PKG_GROUPS = System/Libraries
33 PKG_URL = http://www.qtsoftware.com/
34 PKG_LICENSE = LGPLv2 with exceptions or GPLv3 with exceptions
35 PKG_SUMMARY = Qt toolkit.
37 PKG_PACKAGES += $(PKG_NAME_REAL)-devel
38 PKG_FILES-$(PKG_NAME_REAL)-devel += \
40 /usr/lib/qt4/q3porting.xml \
45 PKG_BUILD_DEPS+= fontconfig-devel freetype-devel gcc-c++ libjpeg-devel \
46 libmng-devel libpng-devel libtiff-devel libX11-devel \
47 libXext-devel libXfixes-devel libXrandr-devel libXrender-devel \
48 libXi-devel pcre-devel pkg-config xorg-x11-proto-devel zlib-devel
50 define PKG_DESCRIPTION
51 Qt is a software toolkit for developing applications.
54 PKG_TARBALL = $(PKG_NAME)-everywhere-opensource-src-$(PKG_VER).tar.gz
56 CONFIGURE_OPTIONS = -v \
58 -datadir /usr/lib/qt4 \
59 -headerdir /usr/include \
60 -plugindir /usr/lib/qt4/plugins \
61 -translationdir /usr/share/qt4/translations \
87 -no-separate-debug-info \
97 -no-sql-sqlite_symbian \
119 DIR_APP = $(DIR_SRC)/$(PKG_NAME)-everywhere-opensource-src-$(PKG_VER)
121 define STAGE_PREPARE_CMDS
122 cd $(DIR_APP) && sed -e "s/-O2/$(CFLAGS)/g" -i mkspecs/*/qmake.conf
126 cd $(DIR_APP) && make install INSTALL_ROOT=$(BUILDROOT)