wok-stable rev 9950

slang*: fix receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed May 18 12:36:22 2011 +0200 (2011-05-18)
parents 35795f86afd3
children 01132274fb89
files slang-dev/receipt slang/receipt
line diff
     1.1 --- a/slang-dev/receipt	Wed May 18 12:35:56 2011 +0200
     1.2 +++ b/slang-dev/receipt	Wed May 18 12:36:22 2011 +0200
     1.3 @@ -15,5 +15,6 @@
     1.4  	mkdir -p $fs/usr/lib 
     1.5  	cp -a $_pkg/usr/include $fs/usr
     1.6  	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
     1.7 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
     1.8  }
     1.9  
     2.1 --- a/slang/receipt	Wed May 18 12:35:56 2011 +0200
     2.2 +++ b/slang/receipt	Wed May 18 12:36:22 2011 +0200
     2.3 @@ -5,28 +5,30 @@
     2.4  CATEGORY="development"
     2.5  SHORT_DESC="S-Lang library"
     2.6  MAINTAINER="erjo@slitaz.org"
     2.7 -DEPENDS="pcre libpng zlib"
     2.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.9  WEB_SITE="http://www.s-lang.org/index.html"
    2.10  WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.2/$TARBALL
    2.11   ftp://space.mit.edu/pub/davis/slang/v2.2/$TARBALL"
    2.12  
    2.13 +DEPENDS="pcre libpng zlib"
    2.14 +
    2.15  # Rules to configure and make the package.
    2.16  compile_rules()
    2.17  {
    2.18  	cd $src
    2.19 -	./configure --prefix=/usr  $CONFIGURE_ARGS &&
    2.20 +	./configure --prefix=/usr  &&
    2.21  	make -j1 && \
    2.22  	make -j1 elf && \
    2.23  	make -j1 static &&
    2.24 -	make -j1 DESTDIR=$PWD/_pkg install install-static
    2.25 +	make -j1 DESTDIR=$DESTDIR install install-static
    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
    2.32 +	mkdir -p $fs/usr/lib
    2.33  	cp -a $_pkg/usr/bin $fs/usr
    2.34 -	cp -a $_pkg/usr/lib $fs/usr
    2.35 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.36 +	cp -a $_pkg/usr/lib/v2 $fs/usr/lib
    2.37  }
    2.38