wok view alpine/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.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 11b5e93cb5f2
children 95e831780a4c
line source
1 # SliTaz package receipt.
3 PACKAGE="alpine"
4 VERSION="2.00"
5 CATEGORY="network"
6 SHORT_DESC="Fast, easy to use email client."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://repo.or.cz/alpine.git"
10 TARBALL="$PACKAGE.tar.gz"
11 WGET_URL="ftp://ftp.cac.washington.edu/alpine/$TARBALL"
12 TAGS="mail client"
13 #HOST_ARCH="i486 arm"
15 DEPENDS="libssl pam ncurses"
16 BUILD_DEPENDS="openssl-dev pam-dev ncurses-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --without-tcl \
23 --without-ldap \
24 --without-krb5 \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }
36 post_install()
37 {
38 # link old libldap libraries
39 cd "$1/usr/lib"
40 ln -s liblber-2.4.so.2.4.2 liblber-2.3.so.0
41 ln -s libldap-2.4.so.2.4.2 libldap-2.3.so.0
42 }
44 post_remove()
45 {
46 rm -f /usr/lib/liblber-2.3.so.0
47 rm -f /usr/lib/libldap-2.3.so.0
48 }