wok annotate mailx/receipt @ rev 25274
updated recordmydesktop (0.3.8.1 -> 0.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 13:57:40 2022 +0100 (2022-07-18) |
parents | 3705d68ed8f3 |
children | b0069c845544 |
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 |
pascal@24402 | 15 # What is the latest version available today? |
pascal@24402 | 16 current_version() |
pascal@24402 | 17 { |
pascal@24402 | 18 wget -O - https://sourceforge.net/projects/heirloom/files/heirloom-mailx/ 2>/dev/null | \ |
pascal@24402 | 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24402 | 20 sed '/scope="row/!d;s|.*/heirloom-mailx/||;s|/.*||;q' |
pascal@24402 | 21 } |
pascal@24402 | 22 |
pankso@12193 | 23 # Rules to configure and make the package. |
pankso@12193 | 24 compile_rules() |
pankso@12193 | 25 { |
pascal@20212 | 26 sed -i 's|uname -m|echo i486|' Makefile |
pascal@18367 | 27 sed -i 's|STACK|STACK_OF(X509)|' openssl.c |
pankso@12193 | 28 make SENDMAIL=/usr/sbin/sendmail && |
pankso@12193 | 29 make PREFIX=/usr UCBINSTALL=/usr/bin/install \ |
pankso@12193 | 30 DESTDIR=$DESTDIR install |
pankso@12193 | 31 } |
pankso@12193 | 32 |
pankso@12193 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12193 | 34 genpkg_rules() |
pankso@12193 | 35 { |
pankso@12193 | 36 mkdir -p $fs/usr |
pankso@12193 | 37 cp -a $install/etc $fs |
pankso@12193 | 38 cp -a $install/usr/bin $fs/usr |
pankso@12193 | 39 cd $fs/usr/bin |
pankso@12193 | 40 ln -s mailx mail && ln -s mailx nail |
pankso@12193 | 41 } |