PATCH_LIST= FILE_LIST= SRC_FETCH_METHOD="http" SRC_FETCH_PATH="http://ftp.gnu.org/gnu/inetutils/inetutils-${PKGVER}.tar.gz" MAKEDEPENDS=( 'readline-*:::*.so *.so.* *.h' 'ncurses-*:::*.so *.so.* *.h' 'zlib-*:::*.so *.so.* *.h' ) # attention aux dépendances, ftp dépend de libresolv, libz, libncurses... function do_config { CC="$CC" CXX="$CXX" LD="$LD" \ RANLIB="$RANLIB" AR="$AR" AS="$AS" NM="$NM" OBJDUMP="$OBJDUMP" \ CFLAGS="$GCC_ARCH_SMALL $GCC_CPU_SMALL $GCC_OPT_SMALL -DPATH_PROCNET_DEV='\"/proc/net/dev\"'" \ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libexec=/usr/sbin \ --without-pam --with-readline --with-wrap \ --disable-threads --disable-rpath \ --host=$FLXTARG --build=$FLXHOST } function do_compile_only { $FLXPMAKE } function do_prepack { mkdir -p $ROOTDIR/usr/sbin $ROOTDIR/usr/bin $ROOTDIR/usr/man/man1 $ROOTDIR/usr/man/man8 $ROOTDIR/usr/man/man5 $ROOTDIR/bin chmod 755 -R $ROOTDIR ; chown root:root -R $ROOTDIR #make install BINDIR=$ROOTDIR/usr/bin SBINDIR=$ROOTDIR/usr/sbin PREFIX=$ROOTDIR/usr MANDIR=$ROOTDIR/usr/man ROOTBINDIR=$ROOTDIR/bin EXECPREFIX=$ROOTDIR/usr $FLXMAKE install DESTDIR=$ROOTDIR mv $ROOTDIR/usr/bin/ping $ROOTDIR/bin/ chgrp netraw $ROOTDIR/bin/ping ; chmod 2551 $ROOTDIR/bin/ping set_default_perm $ROOTDIR }