PATCH_LIST= FILE_LIST= SRC_FETCH_METHOD=http # retrieval method : # can be svn, git, http, ftp, filesystem # SRC_FETCH_METHOD=http # SRC_FETCH_PATH=http://linux-pam.org/library/Linux-PAM-${PKGVER}.tar.bz2 # optimize for size FLXARCH=$FLX_ARCH_SMALL MAKEDEPENDS= # static modules do not work at all... function do_config { CC="$CC" LD="$LD" \ CFLAGS="$GCC_ARCH_SMALL $GCC_CPU_SMALL $GCC_OPT_SMALL" \ ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin --libdir=/usr/lib/ --sysconfdir=/etc --build="$FLXHOST" --with-sysroot=$FLXROOTDIR \ --enable-debug --disable-prelude --enable-read-both-confs --disable-cracklib --disable-audit --enable-db=no --disable-nis --disable-selinux --disable-regenerate-docu --disable-nls --disable-rpath --enable-static-modules=no --enable-pie --enable-shared=yes --enable-static=false } function do_compile_only { # parallel make $FLXPMAKE } function do_prepack { $FLXMAKE install DESTDIR=$ROOTDIR set_default_perm $ROOTDIR chmod -v 4755 $ROOTDIR/sbin/unix_chkpwd install -v -m755 -d $ROOTDIR/etc/pam.d }