wok view c-client/receipt @ rev 24911

updated mlvpn (2.3.4 -> 2.3.5)
author Hans-G?nter Theisgen
date Sat Apr 09 15:36:09 2022 +0100 (2022-04-09)
parents 95c22cb48c90
children 1b47827a7c64
line source
1 # SliTaz package receipt.
3 PACKAGE="c-client"
4 VERSION="2007f"
5 CATEGORY="development"
6 SHORT_DESC="mail store formats support."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="http://alpine.x10host.com/"
10 SOURCE="imap"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.cac.washington.edu/mail/$TARBALL"
13 TAGS="imap pop3 smtp"
15 BUILD_DEPENDS="openssl-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/Latest Release/!d;s|.*ersion ||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \
29 src/osdep/unix/Makefile
30 make slx
31 mkdir -p $DESTDIR/usr/include/c-client $DESTDIR/usr/lib
32 cp src/c-client/*.h c-client/linkage.? c-client/osdep.h c-client/env_unix.h \
33 $DESTDIR/usr/include/c-client
34 cp c-client/c-client.a $DESTDIR/usr/lib
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 chown -R root:root $fs
42 }