wok-next view zlib/receipt @ rev 21087

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
parents e7e7475e84c9
children 9956c9a95aa1
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_static="*.a"
19 CAT_static="development|static library"
21 TAGS_std="LFS"
23 compile_rules() {
24 ./configure \
25 --prefix=/usr &&
26 make &&
27 make install || return 1
29 mkdir -p $install/lib
30 mv -v $install/usr/lib/libz.so.* $install/lib
31 ln -sf ../../lib/$(readlink $install/usr/lib/libz.so) \
32 $install/usr/lib/libz.so
33 }
35 # Important cross compiled package so run readelf.
36 testsuite() {
37 readelf -h $install/lib/libz.so.$VERSION
38 }