wok-next view zlib/receipt @ rev 20215
rsync, x11vnc, xautomation, xinput-calibrator, xlockmore: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 05 09:09:04 2017 +0100 (2017-11-05) |
parents | 9278a60d6895 |
children | 90a5eb560fd6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="zlib"
4 VERSION="1.2.11"
5 CATEGORY="base-system"
6 SHORT_DESC="Compression library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="zlib/libpng"
9 WEB_SITE="http://www.zlib.net/"
10 HOST_ARCH="i486 arm x86_64"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$WEB_SITE$TARBALL"
15 SPLIT="zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr &&
22 make && make install
24 mkdir -p $install/lib
25 mv -v $install/usr/lib/libz.so.* $install/lib
26 ln -sf ../../lib/$(readlink $install/usr/lib/libz.so) \
27 $install/usr/lib/libz.so
28 }
30 # Important cross compiled package so run readelf.
31 testsuite()
32 {
33 cd $install
34 readelf -h lib/*.so.$VERSION
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 case $PACKAGE in
41 zlib) copy @std ;;
42 zlib-dev) copy @dev ;;
43 esac
44 }