# # 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 # # This package.def was created by Lott Caskey (lottc@SpinnakerResorts.com) VERSION = 2.6.26 RELEASE = 0 PKG1COMPONENT = ltsp_voip PKG1NAME = ltsp-libxml2 DEPENDS = ltsp-ltsptree, ltsp-glibc PKG1 = libxml2-2.6.26.tar.gz MD5SUM = 2d8d3805041edab967368b497642f981 SOURCE1 = ${TARBALL_SOURCE}/${PKG1}, \ ftp://xmlsoft.org/libxml2/${PKG1} UNPACK1 = gunzip < ${TARBALL} | tar xf - SOURCEDIR = libxml2-2.6.26 BUILDDIR = libxml2-2.6.26 CONFIGURE = export CFLAGS="-march=i386" && \ ../${SOURCEDIR}/configure --prefix=/usr BUILD = make -j ${CPUS} CFLAGS="-march=i386" INSTALL = make DESTDIR=${LTSP_ROOT} install && \ mkdir -p /tmp/packages/libxml2${LTSP_ROOT} && \ make DESTDIR=/tmp/packages/libxml2${LTSP_ROOT} install CLEAN = rm -rf ${BUILDDIR} ${SOURCEDIR} PKG1NAME = ltsp-libxml2 PKG1COMPONENT = ltsp_voip