/[gentoo-x86]/net-dialup/qlcr/qlcr-0.4.1-r1.ebuild
Gentoo

Contents of /net-dialup/qlcr/qlcr-0.4.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Jun 20 12:48:17 2009 UTC (10 years, 7 months ago) by mrness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
remove net-dialup/qlrc from the tree (homepage no longer available)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-dialup/qlcr/qlcr-0.4.1-r1.ebuild,v 1.3 2008/07/27 21:54:51 carlo Exp $
4
5 EAPI=1
6
7 inherit eutils kde-functions
8
9 DESCRIPTION="Qt based Least Cost Router for Germany"
10 HOMEPAGE="http://www.thepingofdeath.de/"
11 SRC_URI="mirror://sourceforge/qlcr/${P}-1.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 x86"
16 IUSE=""
17
18 DEPEND="x11-libs/qt:3
19 >=net-dialup/wvdial-1.54.0
20 net-misc/ntp
21 net-misc/wget"
22 RDEPEND="${DEPEND}"
23
24 src_unpack() {
25 unpack ${A}
26
27 cd "${S}"
28 # use a different provider file since the original one is no longer available
29 epatch "${FILESDIR}/${P}-providerfileurl.patch"
30 # reduce font size to 8 pts
31 sed --in-place "s:<pointsize>9:<pointsize>8:" "${S}"/src/lcr.ui || die "sed failed"
32 }
33
34 src_compile() {
35 cd src
36 ${QTDIR}/bin/qmake -o Makefile qlcr.pro || die "qmake failed"
37 emake || die "emake failed"
38 }
39
40 src_install() {
41 dobin src/qlcr
42
43 domenu qlcr.desktop
44 doicon qlcr.png
45
46 dodoc README TODO FAQ CHANGELOG
47 gunzip qlcr.1.gz
48 doman qlcr.1
49 }
50
51 pkg_postinst() {
52 elog
53 elog "To use qlcr you should add the appropriate user to the dialout group."
54 elog
55 }

  ViewVC Help
Powered by ViewVC 1.1.20