wok view c-client/receipt @ rev 17683

Up crosstool-ng (1.20.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 20 21:41:13 2015 +0100 (2015-02-20)
parents a7b54d88ae54
children a0dccc5d133d
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://www.washington.edu/imap/"
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 }