wok view zlib/receipt @ rev 22042
gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 22 12:55:54 2019 +0300 (2019-10-22) |
parents | 24f3e4344c1a |
children | 7e911016a644 |
line source
1 # SliTaz package receipt.
3 PACKAGE="zlib"
4 VERSION="1.2.11"
5 CATEGORY="base-system"
6 SHORT_DESC="Compression library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="zlib/libpng"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://zlib.net"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 #WGET_URL="$SF_MIRROR/libpng/$TARBALL"
13 HOST_ARCH="i486 arm x86_64"
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
26 ./configure --prefix=/usr --shared &&
27 make && make install
28 }
30 # Important cross compiled package so run readelf.
31 testsuite()
32 {
33 cd $install
34 readelf -h usr/lib/*.so.$VERSION
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/libz.so* $fs/usr/lib
42 }