You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/searchmonkey/searchmonkey-2.0.0.ebuild

38 lines
832 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/searchmonkey/searchmonkey-2.0.0.ebuild,v 1.7 2013/07/27 22:22:19 ago Exp $
EAPI=4
inherit qt4-r2
MY_PN=${PN}2
MY_P=${PN}_v${PV}
DESCRIPTION="Powerful text searches using regular expressions"
HOMEPAGE="http://searchmonkey.sourceforge.net/"
SRC_URI="mirror://sourceforge/project/${PN}/${MY_PN^}/${PV}%20%5Bstable%5D/${MY_P}.zip"
LICENSE="GPL-3"
SLOT="2"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="
dev-qt/qtcore:4
dev-qt/qtgui:4"
DEPEND="${RDEPEND}
app-arch/unzip"
S="${WORKDIR}"/${MY_P}
PATCHES=( "${FILESDIR}"/${P}-gcc4.7.patch )
src_install() {
newbin ${PN} ${MY_PN}
# Hand-made desktop icon
doicon pixmaps/searchmonkey-300x300.png
domenu "${FILESDIR}"/${P}.desktop
}