diff options
author | Iskren Slavov <iskren.s@gmail.com> | 2010-11-08 09:17:57 +0200 |
---|---|---|
committer | Iskren Slavov <iskren.s@gmail.com> | 2010-11-08 09:17:57 +0200 |
commit | 1da5285f666405d8e10d8c5741844e129131f1df (patch) | |
tree | 04c576be0a277b57dece70801e97e8b6ac070648 | |
parent | Fixed gbgofffice compilation issue. (diff) | |
download | wish-1da5285f666405d8e10d8c5741844e129131f1df.tar.gz wish-1da5285f666405d8e10d8c5741844e129131f1df.tar.bz2 wish-1da5285f666405d8e10d8c5741844e129131f1df.zip |
Update backintime to v1.0.4
-rw-r--r-- | app-backup/backintime/Manifest | 4 | ||||
-rw-r--r-- | app-backup/backintime/backintime-1.0.4.ebuild | 88 |
2 files changed, 90 insertions, 2 deletions
diff --git a/app-backup/backintime/Manifest b/app-backup/backintime/Manifest index 7a34fd1..7ee8696 100644 --- a/app-backup/backintime/Manifest +++ b/app-backup/backintime/Manifest @@ -1,2 +1,2 @@ -DIST backintime-1.0.2_src.tar.gz 224011 RMD160 e9184e15a110e42fd3afd71bd8fa55ca70ce7e6a SHA1 5ba137599b6bd88d4fb94ff3f79b4bf646d525e2 SHA256 eccf29c285c2d6732957213263877808af7c1877f48fbecb4ca8592d83d89fa8 -EBUILD backintime-1.0.2.ebuild 1561 RMD160 4e309c5c8846b7cf082e366b564d89da2a8d29af SHA1 727779fa13724fadcb96e9d61768d0dc56c1a0f0 SHA256 6698ea037e66fb1ad44bcd54ed774b4bf64c05e3c453735f2a63b37a902ea45f +DIST backintime-1.0.4_src.tar.gz 226963 RMD160 0a5de76ef7492b1317e8008bd561b5bd3bc4f533 SHA1 11ad21c09c87b243b77d0d34ab519e30045a46ee SHA256 8a1adc84b4986c0aafd4d95f60091843e42e87f561a16e95738300ce749d9709 +EBUILD backintime-1.0.4.ebuild 1561 RMD160 4e309c5c8846b7cf082e366b564d89da2a8d29af SHA1 727779fa13724fadcb96e9d61768d0dc56c1a0f0 SHA256 6698ea037e66fb1ad44bcd54ed774b4bf64c05e3c453735f2a63b37a902ea45f diff --git a/app-backup/backintime/backintime-1.0.4.ebuild b/app-backup/backintime/backintime-1.0.4.ebuild new file mode 100644 index 0000000..3a68168 --- /dev/null +++ b/app-backup/backintime/backintime-1.0.4.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit eutils + +DESCRIPTION="A simple backup system inspired by TimeVault and FlyBack, with a GUI for GNOME and KDE4" +HOMEPAGE="http://backintime.le-web.org/" +SRC_URI="http://backintime.le-web.org/download/backintime/${P}_src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="kde gnome" + +DEPEND="dev-lang/python + net-misc/rsync[xattr,acl] + kde? ( + >=kde-base/kdelibs-4 + kde-base/pykde4 + kde-base/kompare + kde-base/kdesu + ) + gnome? ( + gnome-base/libglade + gnome-base/gnome-session + dev-python/gnome-vfs-python + dev-python/gnome-python + ) + dev-python/notify-python + " + +RDEPEND="${DEPEND}" + +src_prepare() { + #fix doc install location + sed -i "s:/doc/kde4/HTML/:/doc/HTML/:g" kde4/Makefile.template + sed -i "s:/doc/backintime:/doc/${PF}:g" common/Makefile.template +} + +src_configure() { + cd "${S}"/common + econf + + if use kde ; then + cd "${S}"/kde4 + econf + fi + + if use gnome ; then + cd "${S}"/gnome + econf + fi +} + +src_compile() { + cd "${S}"/common + emake + + if use kde ; then + cd "${S}"/kde4 + emake + fi + + if use gnome ; then + cd "${S}"/gnome + emake + fi +} + +src_install() { + cd "${S}"/common + emake DESTDIR="${D}" install || die + + if use kde ; then + cd "${S}"/kde4 + emake DESTDIR="${D}" install || die + #use kdesu instead of kdesudo + sed -i 's/kdesudo/kdesu/' \ + "${D}"//usr/share/applications/kde4/backintime-kde4-root.desktop + fi + + if use gnome ; then + cd "${S}"/gnome + emake DESTDIR="${D}" install || die + fi +} |