wok-next annotate fdutils/receipt @ rev 21690

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