PATCH_LIST= FILE_LIST= SRC_FETCH_METHOD="http" SRC_FETCH_PATH="http://ftp.gnu.org/gnu/less/less-382.tar.gz" MAKEDEPENDS="ncurses-*::${FLXARCH}:*.so *.so.* *.h" function do_config { # Sometimes, broken packages will need LD="$CC" CC="$CC" CXX="$CXX" LD="$LD" \ RANLIB="$RANLIB" AR="$AR" AS="$AS" NM="$NM" OBJDUMP="$OBJDUMP" \ ./configure --disable-sctp --disable-fips --disable-sycls \ --disable-filan --disable-libwrap \ --prefix=/usr --sysconfdir=/etc \ --disable-nls --disable-locale \ --host=$FLXTARG --build=$FLXHOST } function do_compile_only { # parallel make $FLXPMAKE } function do_prepack { $FLXMAKE install bindir=$ROOTDIR/usr/bin mandir=$ROOTDIR/usr/man mkdir -p $ROOTDIR/etc/profile.d/ $ROOTDIR/usr/bin/ cp $PKGDIR/add-ons/lesspipe.sh $ROOTDIR/usr/bin/ echo 'LESSOPEN="|/usr/bin/lesspipe.sh %s"' >$ROOTDIR/etc/profile.d/lesspipe.var set_default_perm $ROOTDIR set_perm root:adm 755 $ROOTDIR/usr/bin/lesspipe.sh }