wok-current diff mailx/receipt @ rev 12564

udev: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 28 18:52:14 2012 +0200 (2012-04-28)
parents
children 3765f181a6d5
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mailx/receipt	Sat Apr 28 18:52:14 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 +}