We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.

view app-backup/backup2l/backup2l-1.4.ebuild @ 231:e7c5198d2991

[sync] imported aa68919..e042371 from upstream commit e042371101537d75d7751a7009624a34c11713e6 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 14:20:28 2020 +0200 app-crypto/acmetool: added 0.2.1 (supports ACME v2) commit a268a6c732e7ad6a5336d857c600da79559f0201 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 13:10:03 2020 +0200 app-crypt/acmetool: unsymlinked 0.0.58 commit aae9c08eddcc5fe7e3a72722761cea40ed0bbe0c Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 13:07:36 2020 +0200 app-crypt/acmetool: fixed 0.0.58 to work with EAPI 7 and renamed GitHub locations commit 11b50f66971c911fc1f022ee56ca0b494e6ef0cf Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 12:02:22 2020 +0200 app-crypt/acmetool: copy from https://github.com/jmesmon/overlay/ before it was removed on May 26, 2017
author Migration Sync <gentoo-overlay@megacoffee.net>
date Mon, 01 Jun 2020 12:30:01 +0000
parents 51003172505b
children
line wrap: on
line source

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

# note by megacoffee.net overlay repository:

# source of ebuild is bug 167249 on Gentoo Bugzilla
# https://bugs.gentoo.org/show_bug.cgi?id=167249
# original author: bugzilla user "Will"
# posted on: 2007-02-16 19:01:20 UTC

# minimal modifications have been made:

# < KEYWORDS="~x86"
# ---
# > KEYWORDS="~x86 ~amd64"

# < 	exeinto /usr/local
# ---
# > 	#exeinto /usr/local
# > 	exeinto /usr/bin

HOMEPAGE="http://sourceforge.net/projects/backup2l/"
SRC_URI="mirror://sourceforge/backup2l/${P/-/_}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND=""
RDEPEND=""

src_install() {
	
	PREFIX=/usr
	PREFIX_BIN=/usr/bin
	PREFIX_CONF=/etc

	dodir $PREFIX_CONF/cron.daily
	CRON_FILE=$PREFIX_CONF/cron.daily
	
	PROG_FILES="$PREFIX_BIN/backup2l $PREFIX/man/man8/backup2l.8.gz"
	CONF_FILES="$PREFIX_CONF/backup2l.conf $CRON_FILE"

	elog "Installing program"
	#exeinto /usr/local
	exeinto /usr/bin
	doexe backup2l #$PREFIX_BIN
	
	elog "Installing manual"
	doman backup2l.8 
	
	elog "Installing sample configuration file"
	insinto $PREFIX_CONF
	newins first-time.conf backup2l.conf

	elog "Installing sample cron task"
	insinto $CRON_FILE
	doins zz-backup2l 
	elog "Configuration files installed."
}

pkg_postinst() {
	ewarn "Make sure you edit /etc/backupl.conf prior doing anything else..."
	ewarn "You will have to define what to backup and where at least."
	ewarn "Read the entire configuration file, one line must be uncommented."
}