wok rev 12326

xvidcore: Add libxvidcore.so and libxvidcore.so.4 softlinks. There missing in package.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 19 08:01:45 2012 +0000 (2012-04-19)
parents 64d92ecc9394
children 13d730617dad
files xvidcore-dev/receipt xvidcore/receipt
line diff
     1.1 --- a/xvidcore-dev/receipt	Thu Apr 19 07:55:15 2012 +0000
     1.2 +++ b/xvidcore-dev/receipt	Thu Apr 19 08:01:45 2012 +0000
     1.3 @@ -13,6 +13,6 @@
     1.4  genpkg_rules()
     1.5  {
     1.6  	mkdir -p $fs/usr/lib
     1.7 -	cp -a $src/build/generic/_pkg/usr/lib/*.a $fs/usr/lib
     1.8 -	cp -a $src/build/generic/_pkg/usr/include $fs/usr
     1.9 +	cp -a $install/usr/lib/*.a $fs/usr/lib
    1.10 +	cp -a $install/usr/include $fs/usr
    1.11  }
     2.1 --- a/xvidcore/receipt	Thu Apr 19 07:55:15 2012 +0000
     2.2 +++ b/xvidcore/receipt	Thu Apr 19 08:01:45 2012 +0000
     2.3 @@ -19,12 +19,16 @@
     2.4  		--mandir=/usr/share/man \
     2.5  		$CONFIGURE_ARGS &&
     2.6  	make &&
     2.7 -	make DESTDIR=$PWD/_pkg install
     2.8 +	make DESTDIR=$DESTDIR install
     2.9  }
    2.10  
    2.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.12  genpkg_rules()
    2.13  {
    2.14  	mkdir -p $fs/usr/lib
    2.15 -	cp -a $src/build/generic/_pkg/usr/lib/*.so* $fs/usr/lib
    2.16 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.17 +	cd $fs/usr/lib
    2.18 +	_mylib=$(basename libxvidcore.so.*)
    2.19 +	ln -sf ${_mylib} libxvidcore.so.4
    2.20 +	ln -sf ${_mylib} libxvidcore.so
    2.21  }