wok-6.x annotate c-client/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | 95c22cb48c90 |
children | 1b47827a7c64 |
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@24759 | 17 # What is the latest version available today? |
pascal@24759 | 18 current_version() |
pascal@24759 | 19 { |
pascal@24759 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24759 | 21 sed '/Latest Release/!d;s|.*ersion ||;s|<.*||;q' |
pascal@24759 | 22 } |
pascal@24759 | 23 |
pascal@1322 | 24 # Rules to configure and make the package. |
pascal@1322 | 25 compile_rules() |
pascal@1322 | 26 { |
pascal@1322 | 27 cd $src |
pascal@1322 | 28 sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \ |
pascal@1322 | 29 src/osdep/unix/Makefile |
pascal@1322 | 30 make slx |
slaxemulator@11074 | 31 mkdir -p $DESTDIR/usr/include/c-client $DESTDIR/usr/lib |
pascal@24064 | 32 cp src/c-client/*.h c-client/linkage.? c-client/osdep.h c-client/env_unix.h \ |
al@14789 | 33 $DESTDIR/usr/include/c-client |
slaxemulator@11074 | 34 cp c-client/c-client.a $DESTDIR/usr/lib |
pascal@1322 | 35 } |
pascal@1322 | 36 |
pascal@1322 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1322 | 38 genpkg_rules() |
pascal@1322 | 39 { |
al@14789 | 40 cp -a $install/* $fs |
al@14789 | 41 chown -R root:root $fs |
pascal@1322 | 42 } |