
Receipt for package "nail"
# SliTaz package receipt. PACKAGE="nail" VERSION="12.4" CATEGORY="network" SHORT_DESC="Text mode mail user agent." MAINTAINER="sygne@ombres.eu" LICENSE="BSD" SOURCE="mailx" TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="https://heirloom.sourceforge.net/mailx.html" WGET_URL="$SF_MIRROR/project/heirloom/heirloom-mailx/$VERSION/$TARBALL" CONFIG_FILES="/etc/nailrc" TAGS="email imap pop3" DEPENDS="openssl" BUILD_DEPENDS="openssl-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/heirloom/files/heirloom-mailx/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/heirloom-mailx/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { cd $src sed -i 's/static int smime/#define STACK STACK_OF(X509_NAME)\n&/' openssl.c # avoid compiling with kerberos authentification: make config.h sed -i -e "/GSSAPI/d" config.h sed -i -e "/gssapi/d" config.h sed -i -e "s/-lgssapi_krb5//g" LIBS make install UCBINSTALL=/usr/bin/install \ DESTDIR=$DESTDIR PREFIX=/usr } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -r $install/usr/bin $fs/usr mv $fs/usr/bin/mailx $fs/usr/bin/nail cp -r $install/etc $fs } # Post install commands for Tazpkg. # Check mailx post_install() { . "$1/etc/init.d/rc.functions" if [ -e "$1/usr/bin/mailx" ]; then echo "" echo "/usr/bin/mailx exists" echo -n "Do you want /usr/bin/nail for /usr/bin/mailx (y/N) ? : " read -t 30 anser if [ "$anser" = "y" ]; then echo "" echo -n "linking /usr/bin/mailx to /usr/bin/nail" rm "$1/usr/bin/mailx" ln -s /usr/bin/nail "$1/usr/bin/mailx" status else echo "" echo "Doing nothing with /usr/bin/mailx" echo "" fi else echo -n "linking /usr/bin/mailx to /usr/bin/nail" ln -s /usr/bin/nail "$1/usr/bin/mailx" status fi }
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)