wok-next view zlib/receipt @ rev 19645
Remove mesa-dri-ati, mesa-dri-intel, mesa-dri-nouveau, mesa-dri-vmwgfx -> mesa-dri. Split llvm. Up/add xorg apps and some other stuff.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 22 03:43:01 2017 +0200 (2017-02-22) |
parents | c9e270dd464f |
children | 9278a60d6895 |
line source
1 # SliTaz package receipt.
3 PACKAGE="zlib"
4 VERSION="1.2.8"
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 DEPENDS="glibc-base"
16 BUILD_DEPENDS=""
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # case "$ARCH" in
22 # i486)
23 # # work around gcc bug; see https://bugs.archlinux.org/task/20647
24 # export CFLAGS="${CFLAGS/-O2/-O3} -fno-tree-vectorize -DUNALIGNED_OK" ;;
25 # esac
27 ./configure --prefix=/usr &&
28 make && make install
30 mkdir -p $install/lib
31 mv -v $install/usr/lib/libz.so.* $install/lib
32 ln -sf ../../lib/$(readlink $install/usr/lib/libz.so) \
33 $install/usr/lib/libz.so
34 }
36 # Important cross compiled package so run readelf.
37 testsuite()
38 {
39 cd $install
40 readelf -h lib/*.so.$VERSION
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 cook_copy_files libz.so*
47 }