wok diff pifmrds/receipt @ rev 17406

gobby: fix for glibmm >= 2.31
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 28 18:03:15 2014 +0100 (2014-11-28)
parents 88c057127e4a
children 89c8d8b6cf48
line diff
     1.1 --- a/pifmrds/receipt	Sun Jun 01 17:53:40 2014 +0000
     1.2 +++ b/pifmrds/receipt	Fri Nov 28 18:03:15 2014 +0100
     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