wok-6.x diff pifmrds/receipt @ rev 17957

libsecret, libwebp: fix MAINTAINER
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 16 16:12:16 2015 +0200 (2015-04-16)
parents 88c057127e4a
children 89c8d8b6cf48
line diff
     1.1 --- a/pifmrds/receipt	Sun Jun 01 17:53:40 2014 +0000
     1.2 +++ b/pifmrds/receipt	Thu Apr 16 16:12:16 2015 +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