wok-current rev 23638

updated sed (4.7 -> 4.8)
author Hans-G?nter Theisgen
date Mon Apr 20 10:17:35 2020 +0100 (2020-04-20)
parents 1bab6695e007
children 3b146ee1b791
files sed/receipt
line diff
     1.1 --- a/sed/receipt	Mon Apr 20 10:12:05 2020 +0100
     1.2 +++ b/sed/receipt	Mon Apr 20 10:17:35 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sed"
     1.7 -VERSION="4.7"
     1.8 +VERSION="4.8"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="GNU stream editor."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12 @@ -18,7 +18,7 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	./configure \
    1.17 +	./configure		\
    1.18  		$CONFIGURE_ARGS &&
    1.19  	make $MAKEFLAGS &&
    1.20  	make install
    1.21 @@ -27,18 +27,20 @@
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25 -	cook_copy_folders bin
    1.26 +	cook_copy_folders	bin
    1.27  }
    1.28  
    1.29  # Pre and post install commands for Tazpkg.
    1.30  post_install()
    1.31  {
    1.32 -	[ "$(readlink $1/bin/sed)" = "busybox" ] && mv $1/bin/sed $1/bin/sed-bb
    1.33 -	ln -s /usr/bin/sed $1/bin/sed
    1.34 +	[ "$(readlink $1/bin/sed)" = "busybox" ] &&
    1.35 +	mv $1/bin/sed $1/bin/sed-bb
    1.36 +	ln -s /usr/bin/sed	$1/bin/sed
    1.37  }
    1.38  
    1.39  pre_remove()
    1.40  {
    1.41  	rm $1/bin/sed
    1.42 -	[ -e $1/bin/sed-bb ] && mv $1/bin/sed-bb $1/bin/sed
    1.43 +	[ -e $1/bin/sed-bb ] &&
    1.44 +	mv $1/bin/sed-bb	$1/bin/sed
    1.45  }