# # 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 = 1.95.5 RELEASE = 0 PKG1COMPONENT = ltsp_voip PKG1NAME = ltsp-expat PKG1 = expat-1.95.5.tar.gz MD5SUM1 = 6500d7d8c6c2c985cc0be257c9840cb4 SOURCE1 = ${TARBALL_SOURCE}/${PKG1}, \ http://download.sourceforge.net/expat/${PKG1} UNPACK1 = gunzip < ${TARBALL} | tar xf - BUILDDIR = expat-1.95.5 CONFIGURE = export CFLAGS="-march=i386" && \ ./configure --prefix=/usr BUILD = env CFLAGS="-march=i386" make -j ${CPUS} INSTALL = make prefix=${LTSP_ROOT}/usr install && \ mkdir -p /tmp/packages/expat${LTSP_ROOT} && \ make prefix=/tmp/packages/expat${LTSP_ROOT}/usr install CLEAN = rm -rf ${BUILDDIR}