wok-current rev 19268

restore docs/busybox.1
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 04 10:47:24 2016 +0200 (2016-07-04)
parents 04d824c95283
children 7f39549720b8
files busybox/receipt
line diff
     1.1 --- a/busybox/receipt	Mon Jul 04 11:45:47 2016 +0300
     1.2 +++ b/busybox/receipt	Mon Jul 04 10:47:24 2016 +0200
     1.3 @@ -69,12 +69,14 @@
     1.4  			make && make install || return 1
     1.5  		    strip --strip-unneeded -R .eh_frame -R .eh_frame_hdr \
     1.6  				$src/_install/bin/busybox
     1.7 +		    mv docs/busybox.1 docs/busybox.base.1
     1.8  
     1.9  			# prepare busybox-pam package
    1.10  		    sed -i 's/# CONFIG_PAM is not set/CONFIG_PAM=y/' .config
    1.11  		    make oldconfig && make || return 1
    1.12  		    strip --strip-unneeded -R .eh_frame -R .eh_frame_hdr busybox
    1.13  		    mv busybox busybox-pam
    1.14 +		    mv docs/busybox.1 docs/busybox.pam.1
    1.15  
    1.16  		    # prepare busybox-static package
    1.17  		    if [ -x /usr/bin/uclibc-i486-gcc ]; then
    1.18 @@ -82,6 +84,7 @@
    1.19  			make oldconfig && make || return 1
    1.20  			cp busybox busybox-static
    1.21  			mv busybox busybox-uclibc
    1.22 +			mv -f docs/busybox.1 docs/busybox.static.1
    1.23  		    fi
    1.24  
    1.25  		    if [ -x /usr/bin/musl-gcc ]; then
    1.26 @@ -90,6 +93,7 @@
    1.27  			sed -i 's|uclibc-i486-||' .config
    1.28  			make oldconfig && make CC=musl-gcc || return 1
    1.29  			mv busybox busybox-musl
    1.30 +			mv -f docs/busybox.1 docs/busybox.static.1
    1.31  		    fi
    1.32  
    1.33  		    if [ -x /usr/lib/diet/bin/diet ]; then
    1.34 @@ -98,6 +102,7 @@
    1.35  			sed -i 's|uclibc-i486-||;s|CFLAGS="|&-D_BSD_SOURCE |;s|LDFLAGS="|&-Wl,--allow-multiple-definition |;s|LDLIBS="|&compat rpc |' .config
    1.36  			make oldconfig && make CC="/usr/lib/diet/bin/diet gcc" || return 1
    1.37  			mv busybox busybox-diet
    1.38 +			mv -f docs/busybox.1 docs/busybox.static.1
    1.39  		    fi
    1.40  
    1.41  		    # prepare ssfs-busybox package
    1.42 @@ -113,6 +118,7 @@
    1.43  
    1.44  			# Compile translations
    1.45  			make -C $stuff/po install
    1.46 +			cp docs/busybox.base.1 docs/busybox.1
    1.47  
    1.48  			;;
    1.49