28 lines
832 B
Bash
28 lines
832 B
Bash
# Template file for 'fetchmail'
|
|
pkgname=fetchmail
|
|
version=6.4.12
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--with-ssl=${XBPS_CROSS_BASE}/usr"
|
|
hostmakedepends="python3"
|
|
makedepends="libressl-devel"
|
|
depends="fetchmailconf"
|
|
short_desc="Remote-mail retrieval utility"
|
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://fetchmail.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=2b84e0971dbf683ec7edd313f9218adbc7dc51c1de9825b3b549bf619c1a4887
|
|
|
|
post_install() {
|
|
vsed -i -e 's,/usr/bin/python ,/usr/bin/python3 ,' "${DESTDIR}/usr/bin/fetchmailconf"
|
|
}
|
|
|
|
fetchmailconf_package() {
|
|
depends="python3-future python3-tkinter"
|
|
pkg_install() {
|
|
vmove usr/bin/fetchmailconf
|
|
vmove usr/share/man/man1/fetchmailconf.1
|
|
vmove "${py3_sitelib}"
|
|
}
|
|
}
|