wok-current annotate mailx/receipt @ rev 18367

mailx: update for openssl (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 16 16:25:00 2015 +0200 (2015-09-16)
parents 695cebc866d9
children 3705d68ed8f3
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@18367 18 sed -i 's|STACK|STACK_OF(X509)|' openssl.c
pankso@12193 19 make SENDMAIL=/usr/sbin/sendmail &&
pankso@12193 20 make PREFIX=/usr UCBINSTALL=/usr/bin/install \
pankso@12193 21 DESTDIR=$DESTDIR install
pankso@12193 22 }
pankso@12193 23
pankso@12193 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12193 25 genpkg_rules()
pankso@12193 26 {
pankso@12193 27 mkdir -p $fs/usr
pankso@12193 28 cp -a $install/etc $fs
pankso@12193 29 cp -a $install/usr/bin $fs/usr
pankso@12193 30 cd $fs/usr/bin
pankso@12193 31 ln -s mailx mail && ln -s mailx nail
pankso@12193 32 }