diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-30 01:11:30 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-30 01:11:30 +0000 |
commit | 76dfef0cec9170000357d2f354e412daf48941fc (patch) | |
tree | 56647120c0ee20ab3494475c86722034cd194b02 /app-backup/mylvmbackup/mylvmbackup-0.14.ebuild | |
parent | ccf84bcd604130256d1377cd58f0a634ae6ee20f (diff) |
gentoo resync : 30.12.2017
Diffstat (limited to 'app-backup/mylvmbackup/mylvmbackup-0.14.ebuild')
-rw-r--r-- | app-backup/mylvmbackup/mylvmbackup-0.14.ebuild | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/app-backup/mylvmbackup/mylvmbackup-0.14.ebuild b/app-backup/mylvmbackup/mylvmbackup-0.14.ebuild index 0c9c3e32e542..77f80942fdf2 100644 --- a/app-backup/mylvmbackup/mylvmbackup-0.14.ebuild +++ b/app-backup/mylvmbackup/mylvmbackup-0.14.ebuild @@ -1,31 +1,33 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +EAPI=6 + DESCRIPTION="Tool for creating backups of MySQL server's data files using LVM snapshots" HOMEPAGE="http://lenzg.net/mylvmbackup/" SRC_URI="http://lenzg.net/${PN}/${P}.tar.gz" + LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" + DEPEND="" -RDEPEND="dev-perl/Config-IniFiles - >=sys-fs/lvm2-2.02.06 - dev-perl/DBD-mysql - virtual/mysql - dev-perl/TimeDate" +RDEPEND=" + dev-perl/Config-IniFiles + dev-perl/DBD-mysql + dev-perl/TimeDate + >=sys-fs/lvm2-2.02.06 + virtual/mysql" -src_unpack() { - unpack ${A} - sed -i \ - -e '/^prefix/s,/usr/local,/usr,' \ - "${S}"/Makefile - sed -i 's|mycnf=/etc/my.cnf|mycnf=/etc/mysql/my.cnf|' "${S}"/mylvmbackup.conf -} +PATCHES=( + "${FILESDIR}"/${PN}-0.14-fix-build-system.patch + "${FILESDIR}"/${PN}-0.14-fix-config.patch +) src_install() { - emake install DESTDIR="${D}" mandir="/usr/share/man" || die - dodoc ChangeLog README TODO + default + keepdir /var/tmp/${PN}/{backup,mnt} fperms 0700 /var/tmp/${PN}/ } |