wok-next view zlib/receipt @ rev 21071
Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 13 00:46:54 2018 +0200 (2018-12-13) |
parents | d5aab818505e |
children | 0f2575775b2d |
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="devel@slitaz.org"
8 LICENSE="zlib/libpng"
9 WEB_SITE="http://www.zlib.net/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/zlib.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$WEB_SITE$TARBALL"
15 SPLIT="$PACKAGE-dev"
17 TAGS_std="LFS"
19 compile_rules() {
20 ./configure \
21 --prefix=/usr &&
22 make &&
23 make install || return 1
25 mkdir -p $install/lib
26 mv -v $install/usr/lib/libz.so.* $install/lib
27 ln -sf ../../lib/$(readlink $install/usr/lib/libz.so) \
28 $install/usr/lib/libz.so
29 }
31 # Important cross compiled package so run readelf.
32 testsuite() {
33 readelf -h $install/lib/libz.so.$VERSION
34 }