wok diff xvidcore/receipt @ rev 13149

get-flash-plugin: update URL discovery
author Richard Dunbar <mojo@slitaz.org>
date Tue Jul 10 17:44:29 2012 +0000 (2012-07-10)
parents 0d06b2cd33d0
children eb8067417980
line diff
     1.1 --- a/xvidcore/receipt	Sat Nov 12 22:18:38 2011 +0000
     1.2 +++ b/xvidcore/receipt	Tue Jul 10 17:44:29 2012 +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  }