wok-6.x annotate mailx/receipt @ rev 14759
linux: add boot subroot support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 19 11:43:07 2013 +0200 (2013-06-19) |
parents | |
children | 3765f181a6d5 |
rev | line source |
---|---|
pankso@12193 | 1 # SliTaz package receipt. |
pankso@12193 | 2 |
pankso@12193 | 3 PACKAGE="mailx" |
pankso@12193 | 4 VERSION="12.4" |
pankso@12193 | 5 CATEGORY="network" |
pankso@12193 | 6 SHORT_DESC="Command-line Mail User Agent derived from Berkeley Mail." |
pankso@12193 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@12193 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@12193 | 9 WEB_SITE="http://heirloom.sourceforge.net/mailx.html" |
pankso@12193 | 10 WGET_URL="$SF_MIRROR/heirloom/$TARBALL" |
pankso@12193 | 11 |
pankso@12193 | 12 DEPENDS="sendmail" |
pankso@12193 | 13 |
pankso@12193 | 14 # Rules to configure and make the package. |
pankso@12193 | 15 compile_rules() |
pankso@12193 | 16 { |
pankso@12193 | 17 cd $src |
pankso@12193 | 18 make SENDMAIL=/usr/sbin/sendmail && |
pankso@12193 | 19 make PREFIX=/usr UCBINSTALL=/usr/bin/install \ |
pankso@12193 | 20 DESTDIR=$DESTDIR install |
pankso@12193 | 21 } |
pankso@12193 | 22 |
pankso@12193 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12193 | 24 genpkg_rules() |
pankso@12193 | 25 { |
pankso@12193 | 26 mkdir -p $fs/usr |
pankso@12193 | 27 cp -a $install/etc $fs |
pankso@12193 | 28 cp -a $install/usr/bin $fs/usr |
pankso@12193 | 29 cd $fs/usr/bin |
pankso@12193 | 30 ln -s mailx mail && ln -s mailx nail |
pankso@12193 | 31 } |