SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "c-client"

# SliTaz package receipt.

PACKAGE="c-client"
VERSION="2007f"
CATEGORY="development"
SHORT_DESC="mail store formats support."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="Apache"
WEB_SITE="https://alpineapp.email/"
SOURCE="imap"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://www.mirrorservice.org/sites/ftp.cac.washington.edu/$SOURCE/$TARBALL"
TAGS="imap pop3 smtp"

BUILD_DEPENDS="openssl-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/Latest Release/!d;s|.*ersion ||;s|<.*||;q'
}

# 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 src/c-client/*.h c-client/linkage.? c-client/osdep.h 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 $install/* $fs
    chown -R root:root $fs
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)