blob: 4497499bfb66807c05d7d6e6e38b2d22aacd963e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/qshare/qshare-2.1.3.ebuild,v 1.1 2012/03/22 15:57:17 johu Exp $
EAPI=4
inherit eutils qt4-r2
DESCRIPTION="FTP server with a service discovery feature."
HOMEPAGE="http://www.zuzuf.net/qshare/"
SRC_URI="http://www.zuzuf.net/qshare/files/${P}-src.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="net-dns/avahi[mdnsresponder-compat]
x11-libs/qt-core:4
x11-libs/qt-gui:4
x11-libs/qt-webkit:4"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}"
src_prepare() {
sed -i -e '/^QMAKE_CXXFLAGS_RELEASE/d' ${PN}.pro || die "sed failed"
qt4-r2_src_prepare
}
src_install() {
dobin ${PN}
doicon icons/${PN}.png
make_desktop_entry /usr/bin/${PN} QShare ${PN} "Qt;Network;FileTransfer"
dodoc AUTHORS README
}
|