wok-tiny view zlib/receipt @ rev 176

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