# # 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 = 1.4.1 RELEASE = 0 PKG1COMPONENT = ltsp_voip PKG1NAME = ltsp-ccrtp DEPENDS = ltsp-ltsptree, ltsp-glibc, ltsp-commoncpp2 PKG1 = ccrtp-1.4.1.tar.gz MD5SUM = 632aacddec2998f393d1773a078d881a SOURCE1 = ${TARBALL_SOURCE}/${PKG1}, \ http://easynews.dl.sourceforge.net/sourceforge/gnutelephony/${PKG1} UNPACK1 = gunzip < ${TARBALL} | tar xf - PREPATCH1 = patch -p1 <../ccrtp.patch SOURCEDIR = ccrtp-1.4.1 BUILDDIR = ccrtp-1.4.1 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/ccrtp${LTSP_ROOT} && \ make DESTDIR=/tmp/packages/ccrtp${LTSP_ROOT} install CLEAN = rm -rf ${BUILDDIR} ${SOURCEDIR} PKG1NAME = ltsp-ccrtp PKG1COMPONENT = ltsp_voip