wok diff liblo/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents b7319995b37e
children eeba7ab1dffe
line diff
     1.1 --- a/liblo/receipt	Mon Jan 02 23:06:18 2012 +0100
     1.2 +++ b/liblo/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -4,27 +4,28 @@
     1.4  VERSION="0.26"
     1.5  CATEGORY="multimedia"
     1.6  MAINTAINER="jozee@slitaz.org"
     1.7 +LICENSE="LGPL2.1"
     1.8  SHORT_DESC="Lightweight OSC implementation: an implementation of the Open Sound Control protocol for POSIX systems"
     1.9 -BUILD_DEPENDS=""
    1.10  WEB_SITE="http://plugin.org.uk/liblo/"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.13  
    1.14 +BUILD_DEPENDS=""
    1.15  
    1.16  # Rules to configure and make the package.
    1.17  
    1.18 -compile_rules() {
    1.19 -  cd $src
    1.20 -  ./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.21 -  make &&
    1.22 -  make DESTDIR=$PWD/_pkg install
    1.23 +compile_rules()
    1.24 +{
    1.25 +	cd $src
    1.26 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.27 +	make &&
    1.28 +	make DESTDIR=$DESTDIR install
    1.29  }
    1.30  	
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32  genpkg_rules()
    1.33  {
    1.34  	mkdir -p $fs/usr/lib
    1.35 -	cp -a $_pkg/usr/bin $fs/usr
    1.36 -	cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
    1.37 -	
    1.38 +	cp -a $install/usr/bin $fs/usr
    1.39 +	cp -a $install/usr/lib/*so* $fs/usr/lib/
    1.40  }