wok diff libasyncns/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 54bd24628177
children
line diff
     1.1 --- a/libasyncns/receipt	Sun Oct 17 19:45:13 2010 +0000
     1.2 +++ b/libasyncns/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -5,11 +5,13 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="A C library for Linux/Unix for executing name service queries asynchronously."
     1.6  MAINTAINER="slaxemulator@gmail.com"
     1.7 -DEPENDS="glibc-base"
     1.8 +LICENSE="LGPL2.1"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://0pointer.de/lennart/projects/libasyncns"
    1.11  WGET_URL="$WEB_SITE/$TARBALL"
    1.12  
    1.13 +DEPENDS="glibc-base"
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18 @@ -20,13 +22,13 @@
    1.19  		--mandir=/usr/share/man \
    1.20  		--disable-lynx \
    1.21  		$CONFIGURE_ARGS &&
    1.22 -	make && make DESTDIR=$PWD/_pkg install
    1.23 +	make && make DESTDIR=$DESTDIR install
    1.24  }
    1.25  
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.27  genpkg_rules()
    1.28  {
    1.29  	mkdir -p $fs/usr/lib
    1.30 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.31 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.32  }
    1.33