wok-next diff xvidcore/receipt @ rev 14928

Up: eina (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:15:32 2013 +0200 (2013-08-08)
parents 0d06b2cd33d0
children eb8067417980
line diff
     1.1 --- a/xvidcore/receipt	Sat Nov 12 22:18:38 2011 +0000
     1.2 +++ b/xvidcore/receipt	Thu Aug 08 19:15:32 2013 +0200
     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  }