wok-current annotate c-client/receipt @ rev 4057

Up: pidgin (2.6.2)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Sep 09 23:23:01 2009 +0200 (2009-09-09)
parents d6723df895bb
children f7e96b8e3444
rev   line source
pascal@1322 1 # SliTaz package receipt.
pascal@1322 2
pascal@1322 3 PACKAGE="c-client"
pascal@1322 4 VERSION="2007b"
pascal@1322 5 CATEGORY="development"
pascal@1322 6 SHORT_DESC="mail store formats support."
pascal@1322 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1322 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"
pascal@1322 13
pascal@1322 14 # Rules to configure and make the package.
pascal@1322 15 compile_rules()
pascal@1322 16 {
pascal@3117 17 [ -d $src ] || busybox tar -xZf $SOURCES_REPOSITORY/$TARBALL
pascal@1322 18 cd $src
pascal@1322 19 sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \
pascal@1322 20 src/osdep/unix/Makefile
pascal@1322 21 make slx
pascal@1322 22 mkdir -p _pkg/usr/include/c-client _pkg/usr/lib
pascal@1322 23 cp -a src/c-client/*.h _pkg/usr/include/c-client
pascal@1322 24 cp c-client/linkage.h _pkg/usr/include/c-client
pascal@1322 25 cp c-client/osdep.h _pkg/usr/include/c-client
pascal@1322 26 cp c-client/env_unix.h _pkg/usr/include/c-client
pascal@1322 27 cp c-client/c-client.a _pkg/usr/lib
pascal@1322 28 }
pascal@1322 29
pascal@1322 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1322 31 genpkg_rules()
pascal@1322 32 {
pascal@1322 33 cp -a $_pkg/* $fs
pascal@1322 34 }
pascal@1322 35