wok-tiny view zlib/receipt @ rev 82
fix p910nd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 20 00:33:31 2012 +0200 (2012-07-20) |
parents | b5cba588c960 |
children | a6d2ddc65590 |
line source
1 # SliTaz package receipt.
3 PACKAGE="zlib"
4 VERSION="1.2.3"
5 CATEGORY="base-system"
6 SHORT_DESC="Compression library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 [ -n "$TARGET" ] || TARGET="i486"
9 BUILD_DEPENDS="uclibc-cross-compiler-$TARGET"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.zlib.net/"
12 WGET_URL="http://www.gzip.org/zlib/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $PACKAGE-$VERSION
18 ./configure --shared --prefix=/usr \
19 --libdir=/usr/share/uclibc-cross-compiler-$TARGET/lib \
20 --includedir=/usr/share/uclibc-cross-compiler-$TARGET/include
21 sed -i "s/=gcc/=uclibc-$TARGET-gcc/" Makefile
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $PACKAGE-$VERSION/libz.so* $fs/usr/lib
30 }