2012-08-02 21:32:58 +04:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI=4
|
|
|
|
|
|
|
|
EGIT_REPO_URI="git://github.com/AlexCones/LORA.git"
|
|
|
|
|
|
|
|
inherit eutils git-2
|
|
|
|
|
|
|
|
DESCRIPTION="LORA is console client for linux.org.ru forum"
|
|
|
|
HOMEPAGE="https://github.com/AlexCones/LORA"
|
2012-08-02 21:41:11 +04:00
|
|
|
LICENSE="GPL-3"
|
2012-08-02 21:32:58 +04:00
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS=""
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND=""
|
2012-08-04 20:09:42 +04:00
|
|
|
RDEPEND="app-shells/bash
|
2012-08-02 21:32:58 +04:00
|
|
|
dev-python/lxml
|
2012-08-04 20:09:42 +04:00
|
|
|
net-misc/wget
|
|
|
|
sys-apps/sed
|
|
|
|
sys-apps/gawk
|
2012-08-02 21:32:58 +04:00
|
|
|
"
|
|
|
|
|
2012-08-03 13:58:07 +04:00
|
|
|
src_prepare() {
|
|
|
|
sed -i -e "s:INSTALL_DIR = /opt/lora:INSTALL_DIR = ${D}/opt/lora:" Makefile
|
|
|
|
}
|
|
|
|
|
2012-08-02 21:32:58 +04:00
|
|
|
src_compile() { :; }
|
|
|
|
|
|
|
|
src_install() {
|
2012-08-03 13:58:07 +04:00
|
|
|
emake DESTDIR="${D}" install
|
2012-08-02 21:32:58 +04:00
|
|
|
dodoc README
|
2012-08-03 14:00:22 +04:00
|
|
|
dosym /opt/lora/lora.sh /usr/bin/lora
|
2012-08-02 21:32:58 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
einfo "LORA installed into /opt/lora"
|
2012-08-03 20:24:59 +04:00
|
|
|
einfo "It can be launched with this command: '/usr/bin/lora'"
|
2012-08-02 21:32:58 +04:00
|
|
|
}
|