wok-next view zlib/receipt @ rev 21592
updated dkms (2.1.1.2 -> 2.8.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 07:35:54 2020 +0100 (2020-06-24) |
parents | 0f2575775b2d |
children |
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="http://www.zlib.net/$TARBALL"
14 TARBALL_SHA1="e1cb0d5c92da8e9a8c2635dfa249c341dfd00322"
16 SPLIT="$PACKAGE-static $PACKAGE-dev"
18 COPY_std="*.so.*"
19 COPY_static="*.a"
20 COPY_dev="@dev @rm *.so"
22 CAT_static="development|static library"
24 DEPENDS_dev="$PACKAGE" # skip zlib-static
26 TAGS_std="LFS"
28 compile_rules() {
29 ./configure \
30 --prefix=/usr &&
31 make &&
32 make install || return 1
34 mkdir -p $install/lib
35 mv -v $install/usr/lib/libz.so.* $install/lib
36 ln -sf ../../lib/$(readlink $install/usr/lib/libz.so) \
37 $install/usr/lib/libz.so
38 }
40 # Important cross compiled package so run readelf.
41 testsuite() {
42 readelf -h $install/lib/libz.so.$VERSION
43 }