wok-6.x rev 15269

liboil: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 25 11:44:57 2013 +0000 (2013-09-25)
parents 09959b49f7da
children b3db8675cb43
files liboil-dev/receipt liboil/receipt
line diff
     1.1 --- a/liboil-dev/receipt	Wed Sep 25 11:39:47 2013 +0000
     1.2 +++ b/liboil-dev/receipt	Wed Sep 25 11:44:57 2013 +0000
     1.3 @@ -5,15 +5,17 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Library of simple functions that are optimized for various CPUs"
     1.6  MAINTAINER="jozee@slitaz.org"
     1.7 -DEPENDS="liboil"
     1.8 +LICENSE="BSD"
     1.9  WANTED="liboil"
    1.10  WEB_SITE="http://liboil.freedesktop.org/download/"
    1.11  
    1.12 +DEPENDS="liboil"
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {
    1.17  	mkdir -p $fs/usr/lib
    1.18 -	cp -a $_pkg/usr/include $fs/usr
    1.19 -	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.20 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/
    1.21 +	cp -a $install/usr/include $fs/usr
    1.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 +	cp -a $install/usr/lib/*.*a $fs/usr/lib/
    1.24  }
     2.1 --- a/liboil/receipt	Wed Sep 25 11:39:47 2013 +0000
     2.2 +++ b/liboil/receipt	Wed Sep 25 11:44:57 2013 +0000
     2.3 @@ -5,25 +5,27 @@
     2.4  CATEGORY="development"
     2.5  SHORT_DESC="Library of simple functions that are optimized for various CPUs"
     2.6  MAINTAINER="jozee@slitaz.org"
     2.7 -DEPENDS=""
     2.8 -BUILD_DEPENDS="glibc-base glibc-dev"
     2.9 +LICENSE="BSD"
    2.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.11  WEB_SITE="http://liboil.freedesktop.org/download/"
    2.12  WGET_URL="$WEB_SITE/$TARBALL"
    2.13  
    2.14 +DEPENDS=""
    2.15 +BUILD_DEPENDS="glibc-base glibc-dev"
    2.16 +
    2.17  # Rules to configure and make the package.
    2.18  compile_rules()
    2.19  {
    2.20  	cd $src
    2.21  	./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS
    2.22 -    make
    2.23 -    make DESTDIR=$PWD/_pkg install
    2.24 +	make 2>&1 | grep -v "cmp: liboilarray.c:"
    2.25 +	make DESTDIR=$DESTDIR install
    2.26  }
    2.27  
    2.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.29  genpkg_rules()
    2.30  {
    2.31  	mkdir -p $fs/usr/lib 
    2.32 -	cp -a $_pkg/usr/bin $fs/usr
    2.33 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/
    2.34 +	cp -a $install/usr/bin $fs/usr
    2.35 +	cp -a $install/usr/lib/*.so* $fs/usr/lib/
    2.36  }