SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "alpine"

# SliTaz package receipt.

PACKAGE="alpine"
VERSION="2.00"
CATEGORY="network"
SHORT_DESC="Fast, easy to use email client."
MAINTAINER="paul@slitaz.org"
DEPENDS="libssl pam libldap libsasl ncurses libkrb5 libcomerr3"
BUILD_DEPENDS="openssl-dev pam-dev openldap-dev cyrus-sasl-dev libldap krb5-dev"
TARBALL="$PACKAGE.tar.gz"
WEB_SITE="http://www.washington.edu/alpine/"
WGET_URL="ftp://ftp.cac.washington.edu/alpine/$TARBALL"
TAGS="mail client"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        $CONFIGURE_ARGS &&
    make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $_pkg/usr/bin $fs/usr
}

post_install()
{
    # link old libldap libraries
    echo -n "Linking libraries..."
    cd $1/usr/lib
    ln -s liblber-2.4.so.2.4.2 liblber-2.3.so.0
    ln -s libldap-2.4.so.2.4.2 libldap-2.3.so.0
    status
}

post_remove()
{
    echo -n "Removing linked libraries..."
    rm -f /usr/lib/liblber-2.3.so.0
    rm -f /usr/lib/libldap-2.3.so.0
    status
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)