wok view mailx/receipt @ rev 23216
openvpn: add make-ovpn
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 22 20:02:34 2020 +0100 (2020-03-22) |
parents | 23622e77c5bc |
children | afae00265386 |
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 sed -i 's|uname -m|echo i486|' Makefile
19 sed -i 's|STACK|STACK_OF(X509)|' openssl.c
20 make SENDMAIL=/usr/sbin/sendmail &&
21 make PREFIX=/usr UCBINSTALL=/usr/bin/install \
22 DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/etc $fs
30 cp -a $install/usr/bin $fs/usr
31 cd $fs/usr/bin
32 ln -s mailx mail && ln -s mailx nail
33 }