wok-next diff c-client/receipt @ rev 20844

Add amiwm, tklauncher (thanks Pasquale Frega), tcl2c.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 22 20:40:27 2018 +0300 (2018-06-22)
parents eb8067417980
children d5aab818505e
line diff
     1.1 --- a/c-client/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/c-client/receipt	Fri Jun 22 20:40:27 2018 +0300
     1.3 @@ -1,35 +1,39 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="c-client"
     1.8  VERSION="2007f"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="mail store formats support."
    1.11 +SHORT_DESC="Mail store formats support"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="Apache"
    1.14  WEB_SITE="http://www.washington.edu/imap/"
    1.15 -SOURCE="imap"
    1.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.17 -WGET_URL="ftp://ftp.cac.washington.edu/mail/$TARBALL"
    1.18 -TAGS="imap pop3 smtp"
    1.19  
    1.20 -BUILD_DEPENDS="openssl-dev"
    1.21 +TARBALL="imap-$VERSION.tar.gz"
    1.22 +WGET_URL="https://www.mirrorservice.org/sites/ftp.cac.washington.edu/imap/$TARBALL"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 -	sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \
    1.29 -		src/osdep/unix/Makefile
    1.30 +BUILD_DEPENDS="openssl-dev krb5-dev pam-dev"
    1.31 +COOKOPTS="skip-log-errors"
    1.32 +
    1.33 +compile_rules() {
    1.34 +	sed \
    1.35 +		-e "s:-g -fno-omit-frame-pointer -O6:\${CFLAGS}:" \
    1.36 +		-e "s:SSLDIR=/usr/local/ssl:SSLDIR=/usr:" \
    1.37 +		-e "s:SSLCERTS=\$(SSLDIR)/certs:SSLCERTS=/etc/ssl/certs:" \
    1.38 +		-i src/osdep/unix/Makefile
    1.39 +
    1.40  	make slx
    1.41 -	mkdir -p $DESTDIR/usr/include/c-client $DESTDIR/usr/lib
    1.42 +
    1.43 +	mkdir -p \
    1.44 +		$DESTDIR/usr/include/c-client \
    1.45 +		$DESTDIR/usr/lib
    1.46  	cp src/c-client/*.h c-client/linkage.h c-client/osdep.h c-client/env_unix.h \
    1.47  		$DESTDIR/usr/include/c-client
    1.48  	cp c-client/c-client.a $DESTDIR/usr/lib
    1.49 +
    1.50 +	chown -R root:root $install
    1.51  }
    1.52  
    1.53 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.54 -genpkg_rules()
    1.55 -{
    1.56 -	cp -a $install/* $fs
    1.57 -	chown -R root:root $fs
    1.58 +genpkg_rules() {
    1.59 +	copy @dev
    1.60 +	TAGS="imap pop3 smtp"
    1.61  }