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

up:fcitx-4.0.1 & remove table modules
author fireflyoo <lufeng369@gmail.com>
date Fri Dec 17 20:03:29 2010 +0000 (2010-12-17)
parents 79fc515af377
children 3f8017e587e1
line diff
     1.1 --- a/zlib/receipt	Wed Apr 28 11:49:21 2010 +0000
     1.2 +++ b/zlib/receipt	Fri Dec 17 20:03:29 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  }