wok-stable view c-client/receipt @ rev 7938
slitaz-mercurial-style: Migration continue (one can follow in live on hg.slitaz.org)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jan 11 22:37:12 2011 +0100 (2011-01-11) |
parents | 89e7a352bc18 |
children | c111899ee9f5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="c-client"
4 VERSION="2007e"
5 CATEGORY="development"
6 SHORT_DESC="mail store formats support."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE.tar.Z"
9 SOURCE="imap"
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 [ -d $src ] || busybox tar -xZf $SOURCES_REPOSITORY/$TARBALL
19 cd $src
20 sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \
21 src/osdep/unix/Makefile
22 make slx
23 mkdir -p _pkg/usr/include/c-client _pkg/usr/lib
24 cp -a src/c-client/*.h _pkg/usr/include/c-client
25 cp c-client/linkage.h _pkg/usr/include/c-client
26 cp c-client/osdep.h _pkg/usr/include/c-client
27 cp c-client/env_unix.h _pkg/usr/include/c-client
28 cp c-client/c-client.a _pkg/usr/lib
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $_pkg/* $fs
35 }