Diff wgetpaste-2.22-r1 with a wgetpaste-2.25-r4
| /var/lib/layman/calculate/app-text/wgetpaste/wgetpaste-2.25-r4.ebuild 2014-11-07 14:17:33.000000000 +0300 | ||
|---|---|---|
| 1 | 1 |
# Copyright 1999-2014 Gentoo Foundation |
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/wgetpaste-2.22.ebuild,v 1.9 2014/09/14 15:32:19 mrueg Exp $ |
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/wgetpaste-2.25-r3.ebuild,v 1.9 2014/11/02 09:09:38 ago Exp $ |
|
| 4 | 4 | |
| 5 |
EAPI="4" |
|
| 5 |
EAPI="5" |
|
| 6 | 6 | |
| 7 | 7 |
inherit eutils |
| 8 | 8 | |
| ... | ... | |
| 12 | 12 | |
| 13 | 13 |
LICENSE="public-domain" |
| 14 | 14 |
SLOT="0" |
| 15 |
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
|
| 16 |
IUSE="zsh-completion +lodgeit-default" |
|
| 15 |
KEYWORDS="alpha amd64 ~arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
|
| 16 |
IUSE="" |
|
| 17 | 17 | |
| 18 | 18 |
DEPEND="" |
| 19 | 19 |
RDEPEND="net-misc/wget |
| 20 | 20 |
app-i18n/enca |
| 21 |
zsh-completion? ( app-shells/zsh )" |
|
| 21 |
" |
|
| 22 | 22 | |
| 23 | 23 |
src_prepare() {
|
| 24 | 24 |
sed -i -e "s:/etc:\"${EPREFIX}\"/etc:g" wgetpaste || die
|
| 25 |
epatch "${FILESDIR}/calculate_wgetpaste-22.patch"
|
|
| 25 |
epatch "${FILESDIR}"/calculate_wgetpaste-25.patch
|
|
| 26 | 26 |
} |
| 27 | 27 | |
| 28 | 28 |
src_install() {
|
| 29 | 29 |
dobin ${PN}
|
| 30 | 30 |
insinto /etc/wgetpaste.d |
| 31 | 31 |
newins "${FILESDIR}"/wgetpaste-config-services services.conf
|
| 32 |
use lodgeit-default && \ |
|
| 33 |
newins "${FILESDIR}"/wgetpaste-config-default-lodgeit gentoo-default.conf
|
|
| 34 |
if use zsh-completion ; then |
|
| 35 |
insinto /usr/share/zsh/site-functions |
|
| 36 |
doins _wgetpaste |
|
| 37 |
fi |
|
| 32 |
insinto /usr/share/zsh/site-functions |
|
| 33 |
doins _wgetpaste |
|
| 38 | 34 |
} |