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.5.ebuild @ 259:32efd9258ce5

[sync] imported 04d1b06..9f7fbcb from upstream commit 9f7fbcb8451c6c4f26ff0e7989d2ccd92ad27f1c Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Sep 7 23:01:52 2023 +0200 net-misc/asterisk-softmodem: bump to EAPI 8 commit 96dadefa000fde6e61bd2a01c668a9cda4fa30b8 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Sep 7 23:00:56 2023 +0200 app-crypt/acmetool: delete old patch for 0.0.58 commit 349d4168444f2b28345a010ce3ec5952fe51a845 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Sep 7 22:58:09 2023 +0200 app-crypt/acmetool: stitch up old eclass still used to run on EAPI 8 commit 6be702bd1f6723fd4e724de5a1aaa0274d53f1a3 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Sep 7 22:57:29 2023 +0200 app-crypt/acmetool: removed 0.0.58 and 0.2.1 due to EAPI deprecation commit ae0227d3d8fe72eacbd3b1099cf8514131d553a9 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Sep 7 22:45:39 2023 +0200 app-admin/boinctui-extended: bump to EAPI 8 commit 861f2d6873a4cde9c30138d1f7d7739801596ae7 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Sep 7 22:38:38 2023 +0200 app-admin/boinctui-extended: removed 9999 development ebuild, fork has been terminated commit cecf3a2a466ce707b2538ba82cfdbf9575474991 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Sep 7 22:35:25 2023 +0200 app-admin/boinc-status: bump to EAPI 8
author Migration Sync <gentoo-overlay@megacoffee.net>
date Thu, 07 Sep 2023 21:15:02 +0000
parents 12dd1a91bbdf
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."
}