wok view c-client/receipt @ rev 20235

busybox: add arch (uname -m alias)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 15:52:59 2018 +0100 (2018-03-05)
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 }