wok-4.x annotate zlib/receipt @ rev 9731

linux: Fix 1. copying aufs files
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 09 15:54:20 2011 +0200 (2011-05-09)
parents e0f477d62f10
children b039a3d7274c
rev   line source
pankso@8 1 # SliTaz package receipt.
pankso@8 2
pankso@8 3 PACKAGE="zlib"
slaxemulator@5350 4 VERSION="1.2.5"
pankso@178 5 CATEGORY="base-system"
pankso@8 6 SHORT_DESC="Compression library."
pankso@8 7 MAINTAINER="pankso@slitaz.org"
gokhlayeh@8214 8 DEPENDS="glibc-base"
gokhlayeh@8214 9 BUILD_DEPENDS="glibc"
pankso@8 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
rcx@5998 11 WEB_SITE="http://zlib.net/"
slaxemulator@5350 12 WGET_URL="$WEB_SITE/$TARBALL"
pankso@8 13
gokhlayeh@8214 14 # Rules to compile & install the temporary toolchain.
gokhlayeh@8214 15 cook_tmp_toolchain()
gokhlayeh@8214 16 {
gokhlayeh@8214 17 cd $src
gokhlayeh@8214 18 ./configure --prefix=/tools &&
gokhlayeh@8214 19 make
gokhlayeh@8214 20 make install
gokhlayeh@8214 21 }
gokhlayeh@8214 22
pankso@8 23 # Rules to configure and make the package.
pankso@8 24 compile_rules()
pankso@8 25 {
gokhlayeh@8214 26 cd $src
gokhlayeh@8214 27 ./configure --prefix=/usr --shared &&
gokhlayeh@8214 28 make &&
gokhlayeh@8214 29 make install
pankso@8 30 }
pankso@8 31
pankso@8 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@8 33 genpkg_rules()
pankso@8 34 {
pankso@8 35 mkdir -p $fs/usr/lib
rcx@5998 36 cp -a $_pkg/usr/lib/libz.so* $fs/usr/lib
pankso@8 37 }