My personal Gentoo overlay published primarily in order to make x11-terms/cool-retro-term available to the community. It has a number of other ebuilds now - mostly version-bumped or slightly extended stuff from other overlays.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
gentoo-overlay/app-backup/znapzend/znapzend-0.19.1.ebuild

52 lines
1.0 KiB

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils
DESCRIPTION="ZFS backup with remote capabilities and mbuffer integration"
HOMEPAGE="https://github.com/oetiker/znapzend"
SRC_URI="${HOMEPAGE}/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="${DEPEND}"
src_configure() {
econf --prefix=/opt --libdir=/opt/lib/perl5
}
src_compile() {
emake
}
src_install() {
exeinto /opt/bin
doexe bin/*
insinto /etc/default
newins init/${PN}.default ${PN}
insinto /opt/lib
doins lib/ZnapZend.pm
doins -r lib/ZnapZend
insinto /opt/lib
doins -r thirdparty/lib/perl5/*
doman man/znapzend{,zetup,ztatz}.1
newinitd ${FILESDIR}/initd_${PN} ${PN}
}
pkg_postinst() {
elog ""
elog "This software release depends on modules no longer available through Portage."
elog "Since it will automatically obtain them from CPAN, they will be placed under"
elog "'/opt/lib' in order not to interfere with the rest of the system."
elog ""
}