wok-4.x view c-client/receipt @ rev 1788

lighttpd-ssl: fix pre/post install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 30 15:33:31 2008 +0000 (2008-11-30)
parents
children f2968cc8e5fe
line source
1 # SliTaz package receipt.
3 PACKAGE="c-client"
4 VERSION="2007b"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \
19 src/osdep/unix/Makefile
20 make slx
21 mkdir -p _pkg/usr/include/c-client _pkg/usr/lib
22 cp -a src/c-client/*.h _pkg/usr/include/c-client
23 cp c-client/linkage.h _pkg/usr/include/c-client
24 cp c-client/osdep.h _pkg/usr/include/c-client
25 cp c-client/env_unix.h _pkg/usr/include/c-client
26 cp c-client/c-client.a _pkg/usr/lib
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $_pkg/* $fs
33 }