wok-stable annotate zlib/receipt @ rev 5623

Up: minicom (2.4)
author Alexander Medvedev <devl547@gmail.com>
date Thu May 27 18:39:41 2010 +0000 (2010-05-27)
parents cdac43c3f44f
children e0f477d62f10
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"
pankso@8 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@8 9 WEB_SITE="http://www.zlib.net/"
slaxemulator@5350 10 WGET_URL="$WEB_SITE/$TARBALL"
pankso@8 11
pankso@8 12 # Rules to configure and make the package.
pankso@8 13 compile_rules()
pankso@8 14 {
pankso@8 15 cd $PACKAGE-$VERSION
pankso@8 16 ./configure --shared --prefix=/usr
pankso@8 17 make
pankso@8 18 }
pankso@8 19
pankso@8 20 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@8 21 genpkg_rules()
pankso@8 22 {
pankso@8 23 mkdir -p $fs/usr/lib
pankso@8 24 cp -a $PACKAGE-$VERSION/libz.so* $fs/usr/lib
pankso@8 25 strip -s $fs/usr/lib/*
pankso@8 26 }