wok-6.x diff pifmrds/receipt @ rev 21793
cookutils: build core-5in1 weekly too
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 06 13:48:21 2019 +0200 (2019-08-06) |
parents | 88c057127e4a |
children | 89c8d8b6cf48 |
line diff
1.1 --- a/pifmrds/receipt Sun Jun 01 17:53:40 2014 +0000 1.2 +++ b/pifmrds/receipt Tue Aug 06 13:48:21 2019 +0200 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