wok-6.x view c-client/receipt @ rev 25493

Add libgnt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 19 17:37:48 2022 +0000 (2022-11-19)
parents 1b47827a7c64
children
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="https://ftp.icm.edu.pl/packages/$SOURCE/$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 }