wok annotate c-client/receipt @ rev 11427
Add: barnyard2
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Dec 15 09:43:10 2011 +0100 (2011-12-15) |
parents | c111899ee9f5 |
children | a7b54d88ae54 |
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" |
pascal@1322 | 8 SOURCE="imap" |
slaxemulator@11074 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
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@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 |
slaxemulator@11074 | 22 mkdir -p $DESTDIR/usr/include/c-client $DESTDIR/usr/lib |
slaxemulator@11074 | 23 cp -a src/c-client/*.h $DESTDIR/usr/include/c-client |
slaxemulator@11074 | 24 cp c-client/linkage.h $DESTDIR/usr/include/c-client |
slaxemulator@11074 | 25 cp c-client/osdep.h $DESTDIR/usr/include/c-client |
slaxemulator@11074 | 26 cp c-client/env_unix.h $DESTDIR/usr/include/c-client |
slaxemulator@11074 | 27 cp c-client/c-client.a $DESTDIR/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 |