summaryrefslogtreecommitdiff
blob: 8161f6ae7f9672dcac51dea45a370c71059950fe (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
37
38
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/serlook/serlook-0.3.3.ebuild,v 1.2 2007/03/07 08:14:44 genstef Exp $

inherit kde

DESCRIPTION="tool to inspect and debug serial line data traffic"
HOMEPAGE="http://serlook.sunsite.dk/"
SRC_URI="http://serlook.sunsite.dk/${P}.tar.gz
	mirror://gentoo/kde-admindir-3.5.5.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

S="${WORKDIR}"/${PN}

DEPEND=""
RDEPEND=""

need-kde 3

src_unpack() {
	unpack ${A}
	rm -rf "${S}/admin" "${S}/configure"
	ln -s "${WORKDIR}/admin" "${S}/admin"
}

src_install() {
	kde_src_install

	# Put some icon on serlook menu, even if is ugly as hell
	dosym /usr/share/apps/serlook/pics/lo16-app-serlook.png \
		/usr/share/icons/hicolor/16x16/apps/serlook.png
	dosym /usr/share/apps/serlook/pics/lo32-app-serlook.png \
		/usr/share/icons/hicolor/32x32/apps/serlook.png
}