# SliTaz package receipt. PACKAGE="re-alpine" VERSION="2.03" CATEGORY="network" SHORT_DESC="Re-alpine is the continuation of Alpine (a text-based email client)." MAINTAINER="paul@slitaz.org" LICENSE="Apache" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://sourceforge.net/projects/re-alpine/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" TAGS="mail client" DEPENDS="libssl pam libldap libsasl ncurses libkrb5 libcomerr3" BUILD_DEPENDS="openssl-dev pam-dev openldap-dev cyrus-sasl-dev libldap krb5-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/re-alpine/files/ 2>/dev/null | \ sed '/scope="row/!d;s|.*/re-alpine-||;s|.tar.*||;q' } # Rules to configure and make the package. compile_rules() { cd $src touch libtoolT # configure wan't to remove it... ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --with-ssl-dir=/usr \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr }