wok-next rev 21262
fdutils: added modifications from cooking recipe
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 15:20:25 2019 +0100 (2019-12-06) |
parents | 5517d0f8a981 |
children | e2ca14d21805 |
files | fdutils/receipt |
line diff
1.1 --- a/fdutils/receipt Fri Dec 06 14:58:07 2019 +0100 1.2 +++ b/fdutils/receipt Fri Dec 06 15:20:25 2019 +0100 1.3 @@ -13,8 +13,15 @@ 1.4 1.5 BUILD_DEPENDS="flex" 1.6 1.7 -compile_rules() { 1.8 +compile_rules() 1.9 +{ 1.10 + sed -i 's|.*inux/ext2_fs.*|struct ext2_super_block {\n\ 1.11 + __le32 pad1;\n __le32 s_blocks_count;\n __le32 pad2[4];\n\ 1.12 + __le32 s_log_block_size;\n __le32 pad3[7];\n\ 1.13 + __le16 s_magic;\n};|' src/fdmount.c 1.14 + 1.15 mkdir -p $install/etc 1.16 + 1.17 sed \ 1.18 -e "s|^bindir.*|bindir = $install/usr/bin|" \ 1.19 -e "s|^sysconfdir.*|sysconfdir = $install/etc|" \ 1.20 @@ -24,7 +31,8 @@ 1.21 make DESTDIR=$install install-prog 1.22 } 1.23 1.24 -genpkg_rules() { 1.25 +genpkg_rules() 1.26 +{ 1.27 copy @std 1.28 TAGS="floppy formatter" 1.29 }