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 @ 236:151d84363e64

[sync] imported 8c3bfd0..b15ca8c from upstream commit b15ca8c5239daf75d74e03ce0e88be2722c8a8b5 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Sun Feb 28 13:03:05 2021 +0100 media-video/qt-faststart-python removed due to Python 2.7 qt-faststart-python requires Python 2.7 which is being removed from Gentoo. Even if 2.7 may remain available we seem to be unable to keep such packages on a registered overlay using the utility classes provided by Gentoo. In general, "faststart" is today also easily and quickly achieved through FFMPEG (without recoding), so this tool may really no longer be needed. commit dd2b6cb6314909e9253e5dc82cdd99f944f14733 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Sun Feb 28 12:58:23 2021 +0100 media-gfx/trimage removed 1.0.5 due to outdated Python version commit a5de53e6780d5321372f2dcdabdd9eae83b7b1bb Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Sun Feb 28 12:56:56 2021 +0100 dev-python/sexpdata removed Same version is available from official Gentoo repository. commit 9009aaca44d0baf1c654f4b39ca1887b8395c2e8 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Sun Feb 28 12:26:51 2021 +0100 dev-python/epc removed; upstream seems dead Officially only compatible with Python 2.7 up to 3.3. Not sure if still needed - was introduced for emacs JEDI but that appears to now ship its own version through MELPA. Not needed on local installation.
author Migration Sync <gentoo-overlay@megacoffee.net>
date Sun, 28 Feb 2021 12:30:02 +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."
}