fetchmail: fix and split fetchmailconf, update to python3, adopt
This commit is contained in:
parent
562e3de80b
commit
12149ad2e7
|
@ -1,15 +1,28 @@
|
||||||
# Template file for 'fetchmail'
|
# Template file for 'fetchmail'
|
||||||
pkgname=fetchmail
|
pkgname=fetchmail
|
||||||
version=6.4.8
|
version=6.4.8
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-ssl=${XBPS_CROSS_BASE}/usr"
|
configure_args="--with-ssl=${XBPS_CROSS_BASE}/usr"
|
||||||
hostmakedepends="python-devel"
|
hostmakedepends="python3"
|
||||||
makedepends="libressl-devel"
|
makedepends="libressl-devel"
|
||||||
depends="python"
|
depends="fetchmailconf"
|
||||||
short_desc="Remote-mail retrieval utility"
|
short_desc="Remote-mail retrieval utility"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="http://fetchmail.sourceforge.net/"
|
homepage="http://fetchmail.sourceforge.net/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=26cd936ece146e056cdf79a676a33738b4eab0a5ae2edf3fce5ba034721b09bd
|
checksum=26cd936ece146e056cdf79a676a33738b4eab0a5ae2edf3fce5ba034721b09bd
|
||||||
|
|
||||||
|
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}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
fetchmail
|
Loading…
Reference in New Issue