wok-6.x rev 12193
Add the famous Mailx package
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 26 01:32:05 2012 +0200 (2012-03-26) |
parents | 0b3229d0b790 |
children | 1134cd1d9d3c |
files | mailx/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mailx/receipt Mon Mar 26 01:32:05 2012 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mailx" 1.7 +VERSION="12.4" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Command-line Mail User Agent derived from Berkeley Mail." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://heirloom.sourceforge.net/mailx.html" 1.13 +WGET_URL="$SF_MIRROR/heirloom/$TARBALL" 1.14 + 1.15 +DEPENDS="sendmail" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + make SENDMAIL=/usr/sbin/sendmail && 1.22 + make PREFIX=/usr UCBINSTALL=/usr/bin/install \ 1.23 + DESTDIR=$DESTDIR install 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr 1.30 + cp -a $install/etc $fs 1.31 + cp -a $install/usr/bin $fs/usr 1.32 + cd $fs/usr/bin 1.33 + ln -s mailx mail && ln -s mailx nail 1.34 +}