wok-next diff fdutils/receipt @ rev 20715

Up nsd (4.1.21)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 13:10:46 2018 +0300 (2018-05-27)
parents 2c409915a36c
children d5aab818505e
line diff
     1.1 --- a/fdutils/receipt	Tue Nov 07 15:55:13 2017 +0100
     1.2 +++ b/fdutils/receipt	Sun May 27 13:10:46 2018 +0300
     1.3 @@ -1,32 +1,30 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="fdutils"
     1.8  VERSION="5.5"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Utilities for configuring and formatting floppy."
    1.11 +SHORT_DESC="Utilities for configuring and formatting floppy"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.fdutils.linux.lu/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.fdutils.linux.lu/"
    1.18  WGET_URL="$WEB_SITE$TARBALL"
    1.19 -TAGS="floppy formatter"
    1.20  
    1.21 -DEPENDS=""
    1.22  BUILD_DEPENDS="flex"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 +compile_rules() {
    1.28  	mkdir -p $DESTDIR/etc
    1.29 -	sed -i -e "s|^bindir.*|bindir = $DESTDIR/usr/bin|" \
    1.30 +	sed \
    1.31 +		-e "s|^bindir.*|bindir = $DESTDIR/usr/bin|" \
    1.32  		-e "s|^sysconfdir.*|sysconfdir = $DESTDIR/etc|" \
    1.33 -			src/Makefile*
    1.34 +		-i src/Makefile*
    1.35 +
    1.36  	./configure $CONFIGURE_ARGS &&
    1.37  	make DESTDIR=$DESTDIR install-prog
    1.38  }
    1.39  
    1.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 -genpkg_rules()
    1.42 -{	
    1.43 -	cp -a $install/* $fs
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	TAGS="floppy formatter"
    1.47  }