wok view mailx/receipt @ rev 24798
updated libhx and libhx-dev (3.24 -> 4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 21 17:23:16 2022 +0100 (2022-03-21) |
parents | 3705d68ed8f3 |
children | b0069c845544 |
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 # 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 }