wok annotate c-client/receipt @ rev 15380
Add perl-thread
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 21 10:20:30 2013 +0000 (2013-10-21) |
parents | 8a4997fbdd88 |
children | eb8067417980 |
rev | line source |
---|---|
pascal@1322 | 1 # SliTaz package receipt. |
pascal@1322 | 2 |
pascal@1322 | 3 PACKAGE="c-client" |
slaxemulator@11074 | 4 VERSION="2007f" |
pascal@1322 | 5 CATEGORY="development" |
pascal@1322 | 6 SHORT_DESC="mail store formats support." |
pascal@1322 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
al@14789 | 8 WEB_SITE="http://www.washington.edu/imap/" |
pascal@1322 | 9 SOURCE="imap" |
slaxemulator@11074 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1322 | 11 WGET_URL="ftp://ftp.cac.washington.edu/mail/$TARBALL" |
al@14789 | 12 TAGS="imap pop3 smtp" |
al@14789 | 13 |
pascal@1322 | 14 BUILD_DEPENDS="openssl-dev" |
pascal@1322 | 15 |
pascal@1322 | 16 # Rules to configure and make the package. |
pascal@1322 | 17 compile_rules() |
pascal@1322 | 18 { |
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 |
slaxemulator@11074 | 23 mkdir -p $DESTDIR/usr/include/c-client $DESTDIR/usr/lib |
al@14789 | 24 cp src/c-client/*.h c-client/linkage.h c-client/osdep.h c-client/env_unix.h \ |
al@14789 | 25 $DESTDIR/usr/include/c-client |
slaxemulator@11074 | 26 cp c-client/c-client.a $DESTDIR/usr/lib |
pascal@1322 | 27 } |
pascal@1322 | 28 |
pascal@1322 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1322 | 30 genpkg_rules() |
pascal@1322 | 31 { |
al@14789 | 32 cp -a $install/* $fs |
al@14789 | 33 chown -R root:root $fs |
pascal@1322 | 34 } |