wok-current annotate c-client/receipt @ rev 23006
consonance: inserted LDFLAGS
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 03 06:48:05 2020 +0100 (2020-03-03) |
parents | a0dccc5d133d |
children | 95c22cb48c90 |
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@15579 | 8 LICENSE="Apache" |
pascal@22393 | 9 WEB_SITE="http://alpine.x10host.com/" |
pascal@1322 | 10 SOURCE="imap" |
slaxemulator@11074 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1322 | 12 WGET_URL="ftp://ftp.cac.washington.edu/mail/$TARBALL" |
al@14789 | 13 TAGS="imap pop3 smtp" |
al@14789 | 14 |
pascal@1322 | 15 BUILD_DEPENDS="openssl-dev" |
pascal@1322 | 16 |
pascal@1322 | 17 # Rules to configure and make the package. |
pascal@1322 | 18 compile_rules() |
pascal@1322 | 19 { |
pascal@1322 | 20 cd $src |
pascal@1322 | 21 sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \ |
pascal@1322 | 22 src/osdep/unix/Makefile |
pascal@1322 | 23 make slx |
slaxemulator@11074 | 24 mkdir -p $DESTDIR/usr/include/c-client $DESTDIR/usr/lib |
al@14789 | 25 cp src/c-client/*.h c-client/linkage.h c-client/osdep.h c-client/env_unix.h \ |
al@14789 | 26 $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 { |
al@14789 | 33 cp -a $install/* $fs |
al@14789 | 34 chown -R root:root $fs |
pascal@1322 | 35 } |