wok-4.x rev 5998

zlib: Update receipt
author Matthew Sheets <rcx@zoominternet.net>
date Sat Aug 14 15:16:02 2010 +0000 (2010-08-14)
parents e78352b9359e
children d504ac231f94
files zlib-dev/receipt zlib/receipt
line diff
     1.1 --- a/zlib-dev/receipt	Sat Aug 14 14:44:19 2010 +0000
     1.2 +++ b/zlib-dev/receipt	Sat Aug 14 15:16:02 2010 +0000
     1.3 @@ -6,22 +6,13 @@
     1.4  SHORT_DESC="Zlib compression library devel files."
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  WANTED="zlib"
     1.7 -WEB_SITE="http://www.zlib.net/"
     1.8 -
     1.9 -# Rules to configure and make the package.
    1.10 -compile_rules()
    1.11 -{
    1.12 -    cd $src
    1.13 -    ./configure --prefix=/usr
    1.14 -    make
    1.15 -}
    1.16 +WEB_SITE="http://zlib.net/"
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21      mkdir -p $fs/usr/lib
    1.22 -    mkdir -p $fs/usr/include
    1.23 -    cp -a $src/libz.a $fs/usr/lib
    1.24 -    cp $src/zconf.h $fs/usr/include
    1.25 -    cp $src/zlib.h $fs/usr/include
    1.26 +    cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.27 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.28 +	cp -a $_pkg/usr/include $fs/usr
    1.29  }
     2.1 --- a/zlib/receipt	Sat Aug 14 14:44:19 2010 +0000
     2.2 +++ b/zlib/receipt	Sat Aug 14 15:16:02 2010 +0000
     2.3 @@ -6,21 +6,21 @@
     2.4  SHORT_DESC="Compression library."
     2.5  MAINTAINER="pankso@slitaz.org"
     2.6  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     2.7 -WEB_SITE="http://www.zlib.net/"
     2.8 +WEB_SITE="http://zlib.net/"
     2.9  WGET_URL="$WEB_SITE/$TARBALL"
    2.10  
    2.11  # Rules to configure and make the package.
    2.12  compile_rules()
    2.13  {
    2.14      cd $PACKAGE-$VERSION
    2.15 -    ./configure --shared --prefix=/usr
    2.16 -    make
    2.17 +    ./configure --shared --prefix=/usr &&
    2.18 +    make &&
    2.19 +	make DESTDIR=$PWD/_pkg install
    2.20  }
    2.21  
    2.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.23  genpkg_rules()
    2.24  {
    2.25      mkdir -p $fs/usr/lib
    2.26 -    cp -a $PACKAGE-$VERSION/libz.so* $fs/usr/lib
    2.27 -    strip -s $fs/usr/lib/*
    2.28 +    cp -a $_pkg/usr/lib/libz.so* $fs/usr/lib
    2.29  }