summaryrefslogblamecommitdiff
path: root/user/mailx/APKBUILD
blob: 1994cb0377ab7d1acb841cc43a0cd83509200608 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                  
                
                         
                          



















                                                                                                                                                                
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>

pkgname=mailx
pkgver=12.4
pkgrel=0
pkgdesc="Send and receive Internet mail"
url="http://heirloom.sourceforge.net/mailx.html"
arch="all"
license="BSD-4-Clause MIT MPL-1.1"
depends=""
options="!check"
makedepends="openssl-dev"
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/heirloom/$pkgname-$pkgver.tar.bz2
	Mail
	mailx-12.4-openssl.patch
	mailx-12.4-cve.patch"

build() {
	cd "$builddir"
	make PREFIX="/usr" SYSCONFDIR="/etc" STRIP=":"
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" PREFIX="/usr" SYSCONFDIR="/etc" STRIP=":" UCBINSTALL="`command -v install`" install
	install -m 755 "$srcdir"/Mail "$pkgdir"/usr/bin/Mail
}

sha512sums="a0e29972f552bd630ce1a14f70e61661815118520bcd4a00b6cad53f3270d3d08c835ff6982ba8800eb380a5b46f54eb6e60fb7533b5f41c916af45d29605af8  mailx-12.4.tar.bz2
8715bcdbcc5170f406df2a78dc9bac144c5d73eb90ba4832162cd3c5d72c938a32a86e622e64c7e786c05343a37d7b94245cc636511261d1d4f817def04087d2  Mail
a74f85b5a4a9f9cd9a38e244498a11394c42189bbd0601656b6ed56fa55bf596820ef2f995c6878d322a1eca135bd1b1822467c4086adb849c81d65229845663  mailx-12.4-openssl.patch
1e77cd6ea251793ca48ae86b265580cd70fe33838b0b4e1f522af07f4f34bc909e1bab52dc0180516d44399c4227a54be7718c76ebbc4f886f372fdc5c19278f  mailx-12.4-cve.patch"