wok-current view c-client/receipt @ rev 23702
Up tazlito (525)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 28 07:57:17 2020 +0000 (2020-04-28) |
parents | a0dccc5d133d |
children | 95c22cb48c90 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \
22 src/osdep/unix/Makefile
23 make slx
24 mkdir -p $DESTDIR/usr/include/c-client $DESTDIR/usr/lib
25 cp src/c-client/*.h c-client/linkage.h c-client/osdep.h c-client/env_unix.h \
26 $DESTDIR/usr/include/c-client
27 cp c-client/c-client.a $DESTDIR/usr/lib
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 chown -R root:root $fs
35 }