wok annotate c-client/receipt @ rev 22171

pcmanfm-legacy, spacefm: link with libxcb-util
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 08 12:05:48 2019 +0100 (2019-11-08)
parents eb8067417980
children da470720fb85
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@22170 9 WEB_SITE="https://www.washington.edu/imap/"
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 }