wok-6.x view alpine/receipt @ rev 19265

Compress manpages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 04 10:05:09 2016 +0300 (2016-07-04)
parents d5f9f516b706
children 11b5e93cb5f2
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 TARBALL="$PACKAGE.tar.gz"
10 WEB_SITE="http://www.washington.edu/alpine/"
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
28 cook_compress_manpages
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }
38 post_install()
39 {
40 # link old libldap libraries
41 cd "$1/usr/lib"
42 ln -s liblber-2.4.so.2.4.2 liblber-2.3.so.0
43 ln -s libldap-2.4.so.2.4.2 libldap-2.3.so.0
44 }
46 post_remove()
47 {
48 rm -f /usr/lib/liblber-2.3.so.0
49 rm -f /usr/lib/libldap-2.3.so.0
50 }