
Receipt for package "fdutils"
# SliTaz package receipt. PACKAGE="fdutils" VERSION="5.5" CATEGORY="system-tools" SHORT_DESC="Utilities for configuring and formatting floppy." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.fdutils.linux.lu/" WGET_URL="$WEB_SITE$TARBALL" TAGS="floppy formatter" DEPENDS="" BUILD_DEPENDS="flex" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*}/download.html 2>/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { sed -i 's|.*inux/ext2_fs.*|struct ext2_super_block {\n\ __le32 pad1;\n __le32 s_blocks_count;\n __le32 pad2[4];\n\ __le32 s_log_block_size;\n __le32 pad3[7];\n\ __le16 s_magic;\n};|' src/fdmount.c sed -i 's|(uname -m)|(echo i686)|' configure mkdir -p $DESTDIR/etc sed -i -e "s|^bindir.*|bindir = $DESTDIR/usr/bin|" \ -e "s|^sysconfdir.*|sysconfdir = $DESTDIR/etc|" \ src/Makefile* ./configure $CONFIGURE_ARGS && make -j 1 DESTDIR=$DESTDIR install-prog } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)