wok-next diff zlib/receipt @ rev 19647
Forgotten changes: libdrm-*, dbus, fontconfig, harfbuzz, libdrm, pixman, xorg-glproto.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Feb 23 00:58:26 2017 +0200 (2017-02-23) |
parents | c9e270dd464f |
children | 9278a60d6895 |
line diff
1.1 --- a/zlib/receipt Thu Apr 23 16:47:39 2015 +0300 1.2 +++ b/zlib/receipt Thu Feb 23 00:58:26 2017 +0200 1.3 @@ -6,10 +6,11 @@ 1.4 SHORT_DESC="Compression library" 1.5 MAINTAINER="pankso@slitaz.org" 1.6 LICENSE="zlib/libpng" 1.7 +WEB_SITE="http://www.zlib.net/" 1.8 +HOST_ARCH="i486 arm x86_64" 1.9 + 1.10 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.11 -WEB_SITE="http://zlib.net" 1.12 -WGET_URL="$SF_MIRROR/libpng/$TARBALL" 1.13 -HOST_ARCH="i486 arm x86_64" 1.14 +WGET_URL="$WEB_SITE$TARBALL" 1.15 1.16 DEPENDS="glibc-base" 1.17 BUILD_DEPENDS="" 1.18 @@ -17,25 +18,30 @@ 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 { 1.22 - case "$ARCH" in 1.23 - i486) 1.24 - # work around gcc bug; see https://bugs.archlinux.org/task/20647 1.25 - export CFLAGS="${CFLAGS/-O2/-O3} -fno-tree-vectorize -DUNALIGNED_OK" ;; 1.26 - esac 1.27 - ./configure --prefix=/usr --shared && 1.28 - make && make install 1.29 +# case "$ARCH" in 1.30 +# i486) 1.31 +# # work around gcc bug; see https://bugs.archlinux.org/task/20647 1.32 +# export CFLAGS="${CFLAGS/-O2/-O3} -fno-tree-vectorize -DUNALIGNED_OK" ;; 1.33 +# esac 1.34 + 1.35 + ./configure --prefix=/usr && 1.36 + make && make install 1.37 + 1.38 + mkdir -p $install/lib 1.39 + mv -v $install/usr/lib/libz.so.* $install/lib 1.40 + ln -sf ../../lib/$(readlink $install/usr/lib/libz.so) \ 1.41 + $install/usr/lib/libz.so 1.42 } 1.43 1.44 # Important cross compiled package so run readelf. 1.45 testsuite() 1.46 { 1.47 cd $install 1.48 - readelf -h usr/lib/*.so.$VERSION 1.49 + readelf -h lib/*.so.$VERSION 1.50 } 1.51 1.52 # Rules to gen a SliTaz package suitable for Tazpkg. 1.53 genpkg_rules() 1.54 { 1.55 - mkdir -p $fs/usr/lib 1.56 - cp -a $install/usr/lib/libz.so* $fs/usr/lib 1.57 + cook_copy_files libz.so* 1.58 }