wok-next view fdutils/receipt @ rev 21379
updated mspdebug (0.17 -> 0.25)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 16:31:49 2020 +0100 (2020-04-16) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fdutils"
4 VERSION="5.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilities for configuring and formatting floppy"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.fdutils.linux.lu/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE$TARBALL"
14 BUILD_DEPENDS="flex"
16 compile_rules()
17 {
18 sed -i 's|.*inux/ext2_fs.*|struct ext2_super_block {\n\
19 __le32 pad1;\n __le32 s_blocks_count;\n __le32 pad2[4];\n\
20 __le32 s_log_block_size;\n __le32 pad3[7];\n\
21 __le16 s_magic;\n};|' src/fdmount.c
23 mkdir -p $install/etc
25 sed \
26 -e "s|^bindir.*|bindir = $install/usr/bin|" \
27 -e "s|^sysconfdir.*|sysconfdir = $install/etc|" \
28 -i src/Makefile*
30 ./configure $CONFIGURE_ARGS &&
31 make DESTDIR=$install install-prog
32 }
34 genpkg_rules()
35 {
36 copy @std
37 TAGS="floppy formatter"
38 }