wok diff liboil/receipt @ rev 19613

Up: libmpdclient (2.10)
author Alexander Medvedev <devl547@gmail.com>
date Mon Jan 09 19:34:43 2017 +0000 (2017-01-09)
parents 28e430be4305
children 6e8b1bcb30e2
line diff
     1.1 --- a/liboil/receipt	Sun Sep 19 14:21:08 2010 +0000
     1.2 +++ b/liboil/receipt	Mon Jan 09 19:34:43 2017 +0000
     1.3 @@ -5,25 +5,27 @@
     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=""
     1.8 -BUILD_DEPENDS="glibc-base glibc-dev"
     1.9 +LICENSE="BSD"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://liboil.freedesktop.org/download/"
    1.12  WGET_URL="$WEB_SITE/$TARBALL"
    1.13  
    1.14 +DEPENDS=""
    1.15 +BUILD_DEPENDS="glibc-base glibc-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21  	./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS
    1.22 -    make
    1.23 -    make DESTDIR=$PWD/_pkg install
    1.24 +	make 2>&1 | grep -v "cmp: liboilarray.c:"
    1.25 +	make DESTDIR=$DESTDIR install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr/lib 
    1.32 -	cp -a $_pkg/usr/bin $fs/usr
    1.33 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +	cp -a $install/usr/lib/*.so* $fs/usr/lib/
    1.36  }