# 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 }