| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/wgetpaste-2.20.ebuild,v 1.1 2012/05/09 12:36:04 maksbotan Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
|
| 7 |
DESCRIPTION="Command-line interface to various pastebins"
|
| 8 |
HOMEPAGE="http://wgetpaste.zlin.dk/"
|
| 9 |
SRC_URI="http://wgetpaste.zlin.dk/${P}.tar.bz2"
|
| 10 |
|
| 11 |
LICENSE="public-domain"
|
| 12 |
SLOT="0"
|
| 13 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
| 14 |
IUSE="zsh-completion +lodgeit-default"
|
| 15 |
|
| 16 |
DEPEND=""
|
| 17 |
RDEPEND="net-misc/wget
|
| 18 |
zsh-completion? ( app-shells/zsh )"
|
| 19 |
|
| 20 |
src_install() {
|
| 21 |
dobin ${PN}
|
| 22 |
insinto /etc/wgetpaste.d
|
| 23 |
newins "${FILESDIR}"/wgetpaste-config-lugons lugons.conf
|
| 24 |
use lodgeit-default && \
|
| 25 |
newins "${FILESDIR}"/wgetpaste-config-default-lodgeit gentoo-default.conf
|
| 26 |
if use zsh-completion ; then
|
| 27 |
insinto /usr/share/zsh/site-functions
|
| 28 |
doins _wgetpaste
|
| 29 |
fi
|
| 30 |
}
|