# # package.def file for building a package in the the LTSP build environment # # Copyright (c) 2003 by James A. McQuillan (McQuillan Systems, LLC) # # This software is licensed under the Gnu General Public License. # The full text of which can be found at http://www.LTSP.org/license.txt # VERSION = 3.3.6 RELEASE = 0 PKG1COMPONENT = ltsp_voip PKG1NAME = ltsp-qt3-x11 DEPENDS = ltsp-ltsptree, ltsp-libc PKG1 = qt-x11-free-3.3.6.tar.gz MD5SUM = 868d4ea48d136d735362607e66753ab4 SOURCE1 = ${TARBALL_SOURCE}/${PKG1}, \ ftp://ftp.silug.org/mirrors/ftp.trolltech.com/qt/source/${PKG1} UNPACK1 = gunzip < ${TARBALL} | tar xf - SOURCEDIR = qt-x11-free-3.3.6 BUILDDIR = qt-x11-free-3.3.6 CONFIGURE = export CFLAGS="-march=i386" && \ ../${SOURCEDIR}/configure -prefix /usr -thread BUILD = make -j ${CPUS} CFLAGS="-march=i386" INSTALL = make DESTDIR=${LTSP_ROOT} INSTALL_ROOT=${LTSP_ROOT} install && \ mkdir -p /tmp/packages/qt3-x11${LTSP_ROOT} && \ make DESTDIR=/tmp/packages/qt3-x11${LTSP_ROOT} INSTALL_ROOT=/tmp/packages/qt3-x11${LTSP_ROOT} install CLEAN = rm -rf ${BUILDDIR} ${SOURCEDIR} PKG1NAME = ltsp-qt3-x11 PKG1COMPONENT = ltsp_voip