wok-next annotate zlib/receipt @ rev 21051
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 30 01:34:53 2018 +0200 (2018-11-30) |
parents | d5aab818505e |
children | 0f2575775b2d |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pankso@8 | 2 |
pankso@8 | 3 PACKAGE="zlib" |
al@19741 | 4 VERSION="1.2.11" |
pankso@178 | 5 CATEGORY="base-system" |
al@17992 | 6 SHORT_DESC="Compression library" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
al@14742 | 8 LICENSE="zlib/libpng" |
al@19570 | 9 WEB_SITE="http://www.zlib.net/" |
al@21051 | 10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/zlib.html" |
al@19570 | 11 |
pascal@14472 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19570 | 13 WGET_URL="$WEB_SITE$TARBALL" |
pankso@8 | 14 |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
slaxemulator@10413 | 16 |
al@21051 | 17 TAGS_std="LFS" |
al@21051 | 18 |
al@20436 | 19 compile_rules() { |
al@19741 | 20 ./configure \ |
al@19741 | 21 --prefix=/usr && |
al@21020 | 22 make && |
al@21020 | 23 make install || return 1 |
al@19570 | 24 |
al@19570 | 25 mkdir -p $install/lib |
al@19570 | 26 mv -v $install/usr/lib/libz.so.* $install/lib |
al@19570 | 27 ln -sf ../../lib/$(readlink $install/usr/lib/libz.so) \ |
al@19570 | 28 $install/usr/lib/libz.so |
pankso@8 | 29 } |
pankso@8 | 30 |
pankso@12769 | 31 # Important cross compiled package so run readelf. |
al@20436 | 32 testsuite() { |
al@20436 | 33 readelf -h $install/lib/libz.so.$VERSION |
pankso@12769 | 34 } |