wok view mailx/receipt @ rev 15603

Use install instead of _pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 10:39:07 2013 +0000 (2013-12-06)
parents 71abeb8b4744
children 695cebc866d9
line source
1 # SliTaz package receipt.
3 PACKAGE="mailx"
4 VERSION="12.4"
5 CATEGORY="network"
6 SHORT_DESC="Command-line Mail User Agent derived from Berkeley Mail."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://heirloom.sourceforge.net/mailx.html"
11 WGET_URL="$SF_MIRROR/heirloom/$TARBALL"
13 DEPENDS="sendmail"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make SENDMAIL=/usr/sbin/sendmail &&
20 make PREFIX=/usr UCBINSTALL=/usr/bin/install \
21 DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/etc $fs
29 cp -a $install/usr/bin $fs/usr
30 cd $fs/usr/bin
31 ln -s mailx mail && ln -s mailx nail
32 }