# HG changeset patch # User Eric Joseph-Alexandre # Date 1305714982 -7200 # Node ID 619b5a7a77125be4e3843d58f97d562b8f78a317 # Parent 35795f86afd39d3c1ac7d523d3b93d373f30bc29 slang*: fix receipt diff -r 35795f86afd3 -r 619b5a7a7712 slang-dev/receipt --- a/slang-dev/receipt Wed May 18 12:35:56 2011 +0200 +++ b/slang-dev/receipt Wed May 18 12:36:22 2011 +0200 @@ -15,5 +15,6 @@ mkdir -p $fs/usr/lib cp -a $_pkg/usr/include $fs/usr cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib } diff -r 35795f86afd3 -r 619b5a7a7712 slang/receipt --- a/slang/receipt Wed May 18 12:35:56 2011 +0200 +++ b/slang/receipt Wed May 18 12:36:22 2011 +0200 @@ -5,28 +5,30 @@ CATEGORY="development" SHORT_DESC="S-Lang library" MAINTAINER="erjo@slitaz.org" -DEPENDS="pcre libpng zlib" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.s-lang.org/index.html" WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.2/$TARBALL ftp://space.mit.edu/pub/davis/slang/v2.2/$TARBALL" +DEPENDS="pcre libpng zlib" + # Rules to configure and make the package. compile_rules() { cd $src - ./configure --prefix=/usr $CONFIGURE_ARGS && + ./configure --prefix=/usr && make -j1 && \ make -j1 elf && \ make -j1 static && - make -j1 DESTDIR=$PWD/_pkg install install-static + make -j1 DESTDIR=$DESTDIR install install-static } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr + mkdir -p $fs/usr/lib cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/lib $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/lib/v2 $fs/usr/lib }