wok rev 19689

extundelete, proxytunnel: add LDFLAGS for -Wl,--copy-dt-needed-entries
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 13 09:08:56 2017 +0100 (2017-02-13)
parents 358dfa43448f
children 61baea11d722
files extundelete/receipt firmware-mod-kit/receipt mlt/receipt phproxy/receipt proxytunnel/receipt xorg-xf86-video-ati/receipt
line diff
     1.1 --- a/extundelete/receipt	Mon Feb 13 00:16:15 2017 +0200
     1.2 +++ b/extundelete/receipt	Mon Feb 13 09:08:56 2017 +0100
     1.3 @@ -17,7 +17,8 @@
     1.4  compile_rules()
     1.5  {
     1.6  	sed -i 's/*inode;/inodebuf;/' src/block.c
     1.7 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
     1.8 +	./configure LDFLAGS="$LDFLAGS  -Wl,--copy-dt-needed-entries" \
     1.9 +		-prefix=/usr $CONFIGURE_ARGS &&
    1.10  	make && make DESTDIR=$DESTDIR install
    1.11  }
    1.12  
     2.1 --- a/firmware-mod-kit/receipt	Mon Feb 13 00:16:15 2017 +0200
     2.2 +++ b/firmware-mod-kit/receipt	Mon Feb 13 09:08:56 2017 +0100
     2.3 @@ -9,6 +9,7 @@
     2.4  TARBALL="fmk_$VERSION.tar.gz"
     2.5  WEB_SITE="http://code.google.com/p/$PACKAGE/"
     2.6  WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
     2.7 +TAGS="openwrt"
     2.8  
     2.9  DEPENDS="liblzma zlib bash python-magic coreutils-file-special"
    2.10  BUILD_DEPENDS="liblzma-dev zlib-dev"
     3.1 --- a/mlt/receipt	Mon Feb 13 00:16:15 2017 +0200
     3.2 +++ b/mlt/receipt	Mon Feb 13 09:08:56 2017 +0100
     3.3 @@ -18,15 +18,20 @@
     3.4  
     3.5  # Rules to configure and make the package.
     3.6  
     3.7 -compile_rules() {
     3.8 -  ./configure --prefix=/usr \
     3.9 -			  --enable-gpl \
    3.10 -			  --disable-mmx \
    3.11 -			  --qimage-libdir=/usr/lib/ \
    3.12 -			  --qimage-includedir=/usr/include/Qt \
    3.13 -			  --avformat-swscale &&
    3.14 -  make &&
    3.15 -  make install 
    3.16 +compile_rules()
    3.17 +{
    3.18 +	# update to ffmpeg 2.0
    3.19 +	sed -i	-e 's/AVCODEC_MAX_AUDIO_FRAME_SIZE/MAX_AUDIO_FRAME_SIZE/' \
    3.20 +		-e 's/avcodec_decode_audio3/avcodec_decode_audio4/' \
    3.21 +		src/modules/avformat/*.c
    3.22 +	./configure --prefix=/usr \
    3.23 +			--enable-gpl \
    3.24 +			--disable-mmx \
    3.25 +			--qimage-libdir=/usr/lib/ \
    3.26 +			--qimage-includedir=/usr/include/Qt \
    3.27 +			--avformat-swscale &&
    3.28 +	make &&
    3.29 +	make install 
    3.30  }
    3.31  	
    3.32  # Rules to gen a SliTaz package suitable for Tazpkg.
     4.1 --- a/phproxy/receipt	Mon Feb 13 00:16:15 2017 +0200
     4.2 +++ b/phproxy/receipt	Mon Feb 13 09:08:56 2017 +0100
     4.3 @@ -28,6 +28,7 @@
     4.4  {
     4.5  	cp -a $install/* $fs
     4.6  }
     4.7 +
     4.8  post_install()
     4.9  {
    4.10  	# Configure lighttpd server
     5.1 --- a/proxytunnel/receipt	Mon Feb 13 00:16:15 2017 +0200
     5.2 +++ b/proxytunnel/receipt	Mon Feb 13 09:08:56 2017 +0100
     5.3 @@ -16,6 +16,7 @@
     5.4  # Rules to configure and make the package.
     5.5  compile_rules()
     5.6  {
     5.7 +	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
     5.8  	sed -i 's|/local||' Makefile
     5.9  	make &&
    5.10  	make DESTDIR=$DESTDIR install
     6.1 --- a/xorg-xf86-video-ati/receipt	Mon Feb 13 00:16:15 2017 +0200
     6.2 +++ b/xorg-xf86-video-ati/receipt	Mon Feb 13 09:08:56 2017 +0100
     6.3 @@ -13,14 +13,13 @@
     6.4  TAGS="xorg display"
     6.5  
     6.6  DEPENDS="xorg-server mesa-dri-ati"
     6.7 -BUILD_DEPENDS="xorg-server-dev libpthread-stubs-dev"
     6.8 +BUILD_DEPENDS="xorg-server-dev libpthread-stubs-dev xorg-xf86driproto"
     6.9  
    6.10  MODS='/usr/lib/X11/modules'
    6.11  
    6.12  # Rules to configure and make the package.
    6.13  compile_rules()
    6.14  {
    6.15 -	cd $src
    6.16  	./configure \
    6.17  		--sysconfdir=/etc \
    6.18  		--mandir=/usr/share/man \
    6.19 @@ -37,5 +36,3 @@
    6.20  	mkdir -p ${fs}${MODS}/drivers
    6.21  	cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers/
    6.22  }
    6.23 -
    6.24 -