# SliTaz package receipt. PACKAGE="c-client" VERSION="2007f" CATEGORY="development" SHORT_DESC="mail store formats support." MAINTAINER="pascal.bellard@slitaz.org" SOURCE="imap" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.washington.edu/imap/" WGET_URL="ftp://ftp.cac.washington.edu/mail/$TARBALL" BUILD_DEPENDS="openssl-dev" TAGS="imap pop3 smtp" # Rules to configure and make the package. compile_rules() { cd $src sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \ src/osdep/unix/Makefile make slx mkdir -p $DESTDIR/usr/include/c-client $DESTDIR/usr/lib cp -a src/c-client/*.h $DESTDIR/usr/include/c-client cp c-client/linkage.h $DESTDIR/usr/include/c-client cp c-client/osdep.h $DESTDIR/usr/include/c-client cp c-client/env_unix.h $DESTDIR/usr/include/c-client cp c-client/c-client.a $DESTDIR/usr/lib } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $_pkg/* $fs }