# # 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 # # # ltsp_localdev sbalneav@ltsp.org # VERSION = 1.2 RELEASE = 0 PKG1COMPONENT = ltsp_localdev PKG1NAME = ltsp-samba PKG1EXCLUDE = /swat/, \ /usr\/man/, \ /\.old$/ DEPENDS = ltsp-ltsptree, ltsp-glibc PKG1 = samba-3.0.14a.tar.gz MD5SUM1 = ebee37e66a8b5f6fd328967dc09088e8 SOURCE1 = ${TARBALL_SOURCE}/${PKG1}, \ ftp://us1.samba.org/pub/samba/${PKG1} UNPACK1 = gunzip < ${TARBALL} | tar xf - BUILDDIR = samba-build SOURCEDIR = samba-3.0.14a CONFIGURE = export CFLAGS="-march=i386" && \ ../${SOURCEDIR}/source/configure --without-krb5 --with-smbmount --without-ldap --prefix=/usr BUILD = make -j 1 CFLAGS="-march=i386" INSTALL = make DESTDIR=${LTSP_ROOT} install CLEAN = rm -rf ${BUILDDIR} ${SOURCEDIR}