PATCH_LIST="fix_segfault_mke2fs.patch uclibc_memalign.patch" FILE_LIST= SRC_FETCH_METHOD="http" SRC_FETCH_PATH="http://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${PKGVER}/e2fsprogs-${PKGVER}.tar.gz" MAKEDEPENDS="" function do_config_only { ac_cv_lib_pthread_sem_init="no" \ PKG_CONFIG=/bin/true \ LD="$CC" AR="$AR" AS="$AS" RANLIB="$RANLIB" CC="$CC" BUILD_CC="gcc" \ CFLAGS="$GCC_OPT_SMALL $GCC_ARCH_SMALL $GCC_CPU_SMALL -ggdb3" \ ./configure --build=${FLXHOST} --host=${FLXTARG} --prefix=/usr --bindir=/bin --sbindir=/sbin --libdir=/usr/lib --enable-libuuid --enable-libblkid --disable-backtrace --disable-testio-debug --disable-debugfs --disable-imager --disable-defrag --disable-tls --disable-uuidd --disable-mmp --disable-tdb --disable-bmap-stats --disable-nls --disable-threads --disable-rpath --disable-fuse2fs || return 1 } function do_compile_only { $FLXMAKE V=1 || return 1 } function do_prepack { $FLXMAKE install install-libs DESTDIR=$ROOTDIR || return 1 cd $ROOTDIR/sbin rm -f tune2fs findfs fsck.ext2 fsck.ext3 fsck.ext4 fsck.ext4dev mkfs.ext2 mkfs.ext3 mkfs.ext4 mkfs.ext4dev ln -s mke2fs mkfs.ext2 ln -s mke2fs mkfs.ext3 ln -s mke2fs mkfs.ext4 ln -s mke2fs mkfs.ext4dev ln -s e2label tune2fs ln -s e2label findfs ln -s e2fsck fsck.ext2 ln -s e2fsck fsck.ext3 ln -s e2fsck fsck.ext4 ln -s e2fsck fsck.ext4dev set_default_perm $ROOTDIR }