30 lines
903 B
Bash
30 lines
903 B
Bash
# Template file for 'fetchmail'
|
|
pkgname=fetchmail
|
|
version=6.4.19
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-ssl=${XBPS_CROSS_BASE}/usr"
|
|
hostmakedepends="python3"
|
|
makedepends="openssl-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/"
|
|
changelog="https://gitlab.com/fetchmail/fetchmail/-/raw/legacy_64/NEWS"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=cd8d11a3d103e50caa2ec64bcda6307eb3d0783a4d4dfd88e668b81aaf9d6b5f
|
|
|
|
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}"
|
|
}
|
|
}
|