wok view c-client/receipt @ rev 25420

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 08 07:39:58 2022 +0000 (21 months ago)
parents b01314c762e9
children 41a539cfe5f8
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="https://alpineapp.email/"
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 }