wok view c-client/receipt @ rev 24545
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 24 19:32:16 2022 +0000 (2022-02-24) |
parents | da470720fb85 |
children | b01314c762e9 |
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.? 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 }