wok annotate mailx/receipt @ rev 21190

libcdio-paranoia-dev: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 03 18:01:46 2019 +0200 (2019-04-03)
parents 23622e77c5bc
children afae00265386
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"
pascal@15584 8 LICENSE="BSD"
pankso@12193 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@12193 10 WEB_SITE="http://heirloom.sourceforge.net/mailx.html"
pankso@12193 11 WGET_URL="$SF_MIRROR/heirloom/$TARBALL"
pankso@12193 12
pankso@12193 13 DEPENDS="sendmail"
pankso@12193 14
pankso@12193 15 # Rules to configure and make the package.
pankso@12193 16 compile_rules()
pankso@12193 17 {
pascal@20212 18 sed -i 's|uname -m|echo i486|' Makefile
pascal@18367 19 sed -i 's|STACK|STACK_OF(X509)|' openssl.c
pankso@12193 20 make SENDMAIL=/usr/sbin/sendmail &&
pankso@12193 21 make PREFIX=/usr UCBINSTALL=/usr/bin/install \
pankso@12193 22 DESTDIR=$DESTDIR install
pankso@12193 23 }
pankso@12193 24
pankso@12193 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12193 26 genpkg_rules()
pankso@12193 27 {
pankso@12193 28 mkdir -p $fs/usr
pankso@12193 29 cp -a $install/etc $fs
pankso@12193 30 cp -a $install/usr/bin $fs/usr
pankso@12193 31 cd $fs/usr/bin
pankso@12193 32 ln -s mailx mail && ln -s mailx nail
pankso@12193 33 }