wok-4.x diff zlib/receipt @ rev 5998

zlib: Update receipt
author Matthew Sheets <rcx@zoominternet.net>
date Sat Aug 14 15:16:02 2010 +0000 (2010-08-14)
parents 79fc515af377
children 3f8017e587e1
line diff
     1.1 --- a/zlib/receipt	Wed Apr 28 11:49:21 2010 +0000
     1.2 +++ b/zlib/receipt	Sat Aug 14 15:16:02 2010 +0000
     1.3 @@ -6,21 +6,21 @@
     1.4  SHORT_DESC="Compression library."
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.7 -WEB_SITE="http://www.zlib.net/"
     1.8 +WEB_SITE="http://zlib.net/"
     1.9  WGET_URL="$WEB_SITE/$TARBALL"
    1.10  
    1.11  # Rules to configure and make the package.
    1.12  compile_rules()
    1.13  {
    1.14      cd $PACKAGE-$VERSION
    1.15 -    ./configure --shared --prefix=/usr
    1.16 -    make
    1.17 +    ./configure --shared --prefix=/usr &&
    1.18 +    make &&
    1.19 +	make DESTDIR=$PWD/_pkg install
    1.20  }
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25      mkdir -p $fs/usr/lib
    1.26 -    cp -a $PACKAGE-$VERSION/libz.so* $fs/usr/lib
    1.27 -    strip -s $fs/usr/lib/*
    1.28 +    cp -a $_pkg/usr/lib/libz.so* $fs/usr/lib
    1.29  }