wok diff xvidcore/receipt @ rev 14273

njconnect - posible workaround for broken busybox unxz
author Pawel P. <xj@wp.pl>
date Fri Apr 05 11:46:37 2013 +0000 (2013-04-05)
parents 0d06b2cd33d0
children eb8067417980
line diff
     1.1 --- a/xvidcore/receipt	Sat Nov 12 22:18:38 2011 +0000
     1.2 +++ b/xvidcore/receipt	Fri Apr 05 11:46:37 2013 +0000
     1.3 @@ -19,12 +19,16 @@
     1.4  		--mandir=/usr/share/man \
     1.5  		$CONFIGURE_ARGS &&
     1.6  	make &&
     1.7 -	make DESTDIR=$PWD/_pkg install
     1.8 +	make DESTDIR=$DESTDIR install
     1.9  }
    1.10  
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.12  genpkg_rules()
    1.13  {
    1.14  	mkdir -p $fs/usr/lib
    1.15 -	cp -a $src/build/generic/_pkg/usr/lib/*.so* $fs/usr/lib
    1.16 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.17 +	cd $fs/usr/lib
    1.18 +	_mylib=$(basename libxvidcore.so.*)
    1.19 +	ln -sf ${_mylib} libxvidcore.so.4
    1.20 +	ln -sf ${_mylib} libxvidcore.so
    1.21  }