wok view mailx/receipt @ rev 25498

Up dropbear (2022.83)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 15 12:09:07 2022 +0000 (22 months ago)
parents b0069c845544
children d3556b8f5c3d
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="https://heirloom.sourceforge.net/mailx.html"
11 WGET_URL="$SF_MIRROR/project/heirloom/heirloom-mailx/$VERSION/$TARBALL"
13 DEPENDS="sendmail"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://sourceforge.net/projects/heirloom/files/heirloom-mailx/ 2>/dev/null | \
19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
20 sed '/scope="row/!d;s|.*/heirloom-mailx/||;s|/.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|uname -m|echo i486|' Makefile
27 sed -i 's|STACK|STACK_OF(X509)|' openssl.c
28 make SENDMAIL=/usr/sbin/sendmail &&
29 make PREFIX=/usr UCBINSTALL=/usr/bin/install \
30 DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/etc $fs
38 cp -a $install/usr/bin $fs/usr
39 cd $fs/usr/bin
40 ln -s mailx mail && ln -s mailx nail
41 }