wok-current diff slang/receipt @ 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 | 02bbaa9d12ba |
children | 2fe48fe24032 |
line diff
1.1 --- a/slang/receipt Mon Apr 04 01:29:52 2011 +0200 1.2 +++ b/slang/receipt Wed May 18 12:36:22 2011 +0200 1.3 @@ -5,28 +5,30 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="S-Lang library" 1.6 MAINTAINER="erjo@slitaz.org" 1.7 -DEPENDS="pcre libpng zlib" 1.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 WEB_SITE="http://www.s-lang.org/index.html" 1.10 WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.2/$TARBALL 1.11 ftp://space.mit.edu/pub/davis/slang/v2.2/$TARBALL" 1.12 1.13 +DEPENDS="pcre libpng zlib" 1.14 + 1.15 # Rules to configure and make the package. 1.16 compile_rules() 1.17 { 1.18 cd $src 1.19 - ./configure --prefix=/usr $CONFIGURE_ARGS && 1.20 + ./configure --prefix=/usr && 1.21 make -j1 && \ 1.22 make -j1 elf && \ 1.23 make -j1 static && 1.24 - make -j1 DESTDIR=$PWD/_pkg install install-static 1.25 + make -j1 DESTDIR=$DESTDIR install install-static 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 1.32 + mkdir -p $fs/usr/lib 1.33 cp -a $_pkg/usr/bin $fs/usr 1.34 - cp -a $_pkg/usr/lib $fs/usr 1.35 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.36 + cp -a $_pkg/usr/lib/v2 $fs/usr/lib 1.37 } 1.38