wok view c-client/receipt @ rev 14743
musl-libc-dev: add linux include links
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 14 11:27:43 2013 +0200 (2013-06-14) |
parents | c111899ee9f5 |
children | a7b54d88ae54 |
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 SOURCE="imap"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.washington.edu/imap/"
11 WGET_URL="ftp://ftp.cac.washington.edu/mail/$TARBALL"
12 BUILD_DEPENDS="openssl-dev"
13 TAGS="imap pop3 smtp"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \
20 src/osdep/unix/Makefile
21 make slx
22 mkdir -p $DESTDIR/usr/include/c-client $DESTDIR/usr/lib
23 cp -a src/c-client/*.h $DESTDIR/usr/include/c-client
24 cp c-client/linkage.h $DESTDIR/usr/include/c-client
25 cp c-client/osdep.h $DESTDIR/usr/include/c-client
26 cp c-client/env_unix.h $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 $_pkg/* $fs
34 }