wok-next diff pifmrds/receipt @ rev 19734

Up cookutils(905) (v2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 27 16:29:45 2017 +0300 (2017-05-27)
parents 88c057127e4a
children
line diff
     1.1 --- a/pifmrds/receipt	Sun Jun 01 17:53:40 2014 +0000
     1.2 +++ b/pifmrds/receipt	Sat May 27 16:29:45 2017 +0300
     1.3 @@ -21,20 +21,20 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src/src
     1.7 -	sed -i "s|STD_CFLAGS = |&-I/cross/$ARCH/sysroot/usr/include |" Makefile
     1.8 +	sed -i 's|^CC|# &|;/^ifeq/d;/^else/,/^endif/d;s|-march.*$||' Makefile
     1.9  	make
    1.10  }
    1.11  
    1.12  # SliTaz package testsuite
    1.13  testsuite() {
    1.14 -	readelf -Ah $src/pi_fm_rds
    1.15 +	readelf -Ah $src/src/pi_fm_rds
    1.16  }
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21 -	mkdir $fs/usr/sbin
    1.22 -	cp $src/pi_fm_rds $fs/usr/sbin
    1.23 +	mkdir -p $fs/usr/sbin
    1.24 +	cp $src/src/pi_fm_rds $fs/usr/sbin
    1.25  	cat > $fs/usr/sbin/pifmogg.sh <<EOT
    1.26  #!/bin/sh
    1.27