wok annotate c-client/receipt @ rev 7931

Up: slitaz-tools (4.0)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jan 11 13:40:16 2011 +0100 (2011-01-11)
parents 89e7a352bc18
children c111899ee9f5
rev   line source
pascal@1322 1 # SliTaz package receipt.
pascal@1322 2
pascal@1322 3 PACKAGE="c-client"
pascal@5806 4 VERSION="2007e"
pascal@1322 5 CATEGORY="development"
pascal@1322 6 SHORT_DESC="mail store formats support."
pascal@1322 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@5813 8 TARBALL="$PACKAGE.tar.Z"
pascal@1322 9 SOURCE="imap"
pascal@1322 10 WEB_SITE="http://www.washington.edu/imap/"
pascal@1322 11 WGET_URL="ftp://ftp.cac.washington.edu/mail/$TARBALL"
pascal@1322 12 BUILD_DEPENDS="openssl-dev"
jozee@4933 13 TAGS="imap pop3 smtp"
pascal@1322 14
pascal@1322 15 # Rules to configure and make the package.
pascal@1322 16 compile_rules()
pascal@1322 17 {
pascal@3117 18 [ -d $src ] || busybox tar -xZf $SOURCES_REPOSITORY/$TARBALL
pascal@1322 19 cd $src
pascal@1322 20 sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \
pascal@1322 21 src/osdep/unix/Makefile
pascal@1322 22 make slx
pascal@1322 23 mkdir -p _pkg/usr/include/c-client _pkg/usr/lib
pascal@1322 24 cp -a src/c-client/*.h _pkg/usr/include/c-client
pascal@1322 25 cp c-client/linkage.h _pkg/usr/include/c-client
pascal@1322 26 cp c-client/osdep.h _pkg/usr/include/c-client
pascal@1322 27 cp c-client/env_unix.h _pkg/usr/include/c-client
pascal@1322 28 cp c-client/c-client.a _pkg/usr/lib
pascal@1322 29 }
pascal@1322 30
pascal@1322 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1322 32 genpkg_rules()
pascal@1322 33 {
pascal@1322 34 cp -a $_pkg/* $fs
pascal@1322 35 }
pascal@1322 36