diff options
author | Dawid Węgliński <cla@gentoo.org> | 2008-10-09 18:23:50 +0000 |
---|---|---|
committer | Dawid Węgliński <cla@gentoo.org> | 2008-10-09 18:23:50 +0000 |
commit | 03d25e34195800c474558bfb4d39f8a86d8a17e1 (patch) | |
tree | a07f62da4691ee4d4836e143e572cf41773456a2 /app-text/wklej/wklej-0.1.5.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-2-03d25e34195800c474558bfb4d39f8a86d8a17e1.tar.gz gentoo-2-03d25e34195800c474558bfb4d39f8a86d8a17e1.tar.bz2 gentoo-2-03d25e34195800c474558bfb4d39f8a86d8a17e1.zip |
Version bump, thanks to thanks to Antoni <awaria at chopin.edu.pl> and Paweł <pkilian at wklej.org> for working on ebuild
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-text/wklej/wklej-0.1.5.ebuild')
-rw-r--r-- | app-text/wklej/wklej-0.1.5.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-text/wklej/wklej-0.1.5.ebuild b/app-text/wklej/wklej-0.1.5.ebuild new file mode 100644 index 000000000000..ca8bd7945313 --- /dev/null +++ b/app-text/wklej/wklej-0.1.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/wklej/wklej-0.1.5.ebuild,v 1.1 2008/10/09 18:23:50 cla Exp $ + +EAPI=1 + +inherit eutils + +DESCRIPTION="A wklej.org submitter" +HOMEPAGE="http://wklej.org" +SRC_URI="http://wklej.org/m/apps/wklej-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="+vim" + +DEPEND="${RDEPEND}" +RDEPEND="dev-lang/python + vim? ( app-editors/vim )" + +pkg_setup() { + if use vim && ! built_with_use app-editors/vim python; then + eerror "app-editors/vim must be compiled with USE=python" + die "app-editors/vim must be compiled with USE=python" + fi +} + +src_install() { + if use vim; then + insinto /usr/share/vim/vimfiles/plugin + doins "${WORKDIR}"/${PN}.vim + fi + + dobin "${WORKDIR}"/${PN} +} |