# HG changeset patch # User Matthew Sheets # Date 1281798962 0 # Node ID e0f477d62f10061c4e618de5bb9eb59e24597983 # Parent e78352b9359e127040fda894ce03d28f3f882df5 zlib: Update receipt diff -r e78352b9359e -r e0f477d62f10 zlib-dev/receipt --- a/zlib-dev/receipt Sat Aug 14 14:44:19 2010 +0000 +++ b/zlib-dev/receipt Sat Aug 14 15:16:02 2010 +0000 @@ -6,22 +6,13 @@ SHORT_DESC="Zlib compression library devel files." MAINTAINER="pankso@slitaz.org" WANTED="zlib" -WEB_SITE="http://www.zlib.net/" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure --prefix=/usr - make -} +WEB_SITE="http://zlib.net/" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib - mkdir -p $fs/usr/include - cp -a $src/libz.a $fs/usr/lib - cp $src/zconf.h $fs/usr/include - cp $src/zlib.h $fs/usr/include + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr } diff -r e78352b9359e -r e0f477d62f10 zlib/receipt --- a/zlib/receipt Sat Aug 14 14:44:19 2010 +0000 +++ b/zlib/receipt Sat Aug 14 15:16:02 2010 +0000 @@ -6,21 +6,21 @@ SHORT_DESC="Compression library." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.zlib.net/" +WEB_SITE="http://zlib.net/" WGET_URL="$WEB_SITE/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $PACKAGE-$VERSION - ./configure --shared --prefix=/usr - make + ./configure --shared --prefix=/usr && + make && + make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $PACKAGE-$VERSION/libz.so* $fs/usr/lib - strip -s $fs/usr/lib/* + cp -a $_pkg/usr/lib/libz.so* $fs/usr/lib }