wok annotate fdutils/receipt @ rev 22046

updated traceroute (2.0.19 -> 2.1.0)
author Hans-G?nter Theisgen
date Tue Oct 22 14:29:30 2019 +0100 (2019-10-22)
parents 4ea0eb3f4881
children ad8b9ff412d2
rev   line source
pascal@14526 1 # SliTaz package receipt.
pascal@14526 2
pascal@14526 3 PACKAGE="fdutils"
pascal@14526 4 VERSION="5.5"
al@14742 5 CATEGORY="system-tools"
pascal@14526 6 SHORT_DESC="Utilities for configuring and formatting floppy."
pascal@14526 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
pascal@14526 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14526 10 WEB_SITE="http://www.fdutils.linux.lu/"
pascal@14526 11 WGET_URL="$WEB_SITE$TARBALL"
pascal@14528 12 TAGS="floppy formatter"
pascal@14526 13
pascal@14526 14 DEPENDS=""
pascal@14526 15 BUILD_DEPENDS="flex"
pascal@14526 16
pascal@14526 17 # Rules to configure and make the package.
pascal@14526 18 compile_rules()
pascal@14526 19 {
pascal@20612 20 sed -i 's|.*inux/ext2_fs.*|struct ext2_super_block {\n\
pascal@20612 21 __le32 pad1;\n __le32 s_blocks_count;\n __le32 pad2[4];\n\
pascal@20612 22 __le32 s_log_block_size;\n __le32 pad3[7];\n\
pascal@20612 23 __le16 s_magic;\n};|' src/fdmount.c
pascal@20612 24 sed -i 's|(uname -m)|(echo i686)|' configure
pascal@14526 25 mkdir -p $DESTDIR/etc
pascal@14526 26 sed -i -e "s|^bindir.*|bindir = $DESTDIR/usr/bin|" \
pascal@14526 27 -e "s|^sysconfdir.*|sysconfdir = $DESTDIR/etc|" \
pascal@14526 28 src/Makefile*
pascal@14526 29 ./configure $CONFIGURE_ARGS &&
pascal@20613 30 make -j 1 DESTDIR=$DESTDIR install-prog
pascal@14526 31 }
pascal@14526 32
pascal@14526 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14526 34 genpkg_rules()
pascal@14526 35 {
pascal@14526 36 cp -a $install/* $fs
pascal@14526 37 }