wok-next diff lsb-release/receipt @ rev 21161

diffutils splitted again
author Hans-G?nter Theisgen
date Wed Feb 20 09:13:09 2019 +0100 (2019-02-20)
parents aef69ec23a2f
children
line diff
     1.1 --- a/lsb-release/receipt	Fri Jul 21 14:44:00 2017 +0300
     1.2 +++ b/lsb-release/receipt	Wed Feb 20 09:13:09 2019 +0100
     1.3 @@ -7,34 +7,26 @@
     1.4  MAINTAINER="al.bobylev@gmail.com"
     1.5  LICENSE="OSI"
     1.6  WEB_SITE="https://sourceforge.net/projects/lsb/"
     1.7 +LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/lsb-release.html"
     1.8  
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WGET_URL="$SF_MIRROR/lsb/$TARBALL"
    1.11  
    1.12  BUILD_DEPENDS="help2man"
    1.13  
    1.14 -# Rules to configure and make the package.
    1.15 -compile_rules()
    1.16 -{
    1.17 -	# http://www.linuxfromscratch.org/blfs/view/stable/postlfs/lsb-release.html
    1.18 +compile_rules() {
    1.19  	sed -i "s|n/a|unavailable|" lsb_release
    1.20  	./help2man -N \
    1.21  		--include ./lsb_release.examples \
    1.22  		--alt_version_key=program_version \
    1.23  		./lsb_release > lsb_release.1
    1.24  
    1.25 -	mkdir -p $install/usr/share/man/man1/
    1.26 -	install -v -m644 lsb_release.1 $install/usr/share/man/man1/
    1.27 +	install -Dm755 lsb_release        $install/usr/bin/lsb_release
    1.28 +	install -Dm644 $stuff/lsb-release $install/etc/lsb-release
    1.29  
    1.30 -	mkdir -p $install/usr/bin/
    1.31 -	install -v -m755 lsb_release   $install/usr/bin/
    1.32 -
    1.33 -	mkdir -p $install/etc/
    1.34 -	cp $stuff/lsb-release $install/etc/
    1.35 +	cook_pick_manpages lsb_release.1
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 +genpkg_rules() {
    1.42  	copy @std
    1.43  }