blob: 9383c14bb7079ddcbd698bb4e552127157e228a4 (
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
39
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/kflog/kflog-2.1.1-r2.ebuild,v 1.1 2007/02/05 10:19:02 flameeyes Exp $
inherit kde
DESCRIPTION="A flight logger/analyser for KDE aimed at glider pilots"
HOMEPAGE="http://www.kflog.org/kflog/"
SRC_URI="http://www.kflog.org/download/src/${P}.tar.bz2
mirror://gentoo/kde-admindir-3.5.5.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="-amd64 ~ppc ~sparc ~x86"
IUSE=""
need-kde 3
src_install() {
kde_src_install
rm -rf ${D}/usr/share/doc/HTML
chown -R root:users ${D}/usr/share/apps/kflog/mapdata
chmod -R ug+rw ${D}/usr/share/apps/kflog/mapdata
}
pkg_postinst() {
elog "Note: Maps are not included. KFlog can download required data"
elog "for you, or you may obtain map/airspace/airfield data at:"
elog
elog "http://maproom.kflog.org/"
elog
elog "and untar them in /usr/share/apps/kflog/mapdata"
elog "Visiting http://www.kflog.org/ is generally a good idea."
}
pkg_postrm() {
elog "Note: If you installed any maps, airspace or airfield data -"
elog "DO NOT FORGET to remove it manually! (/usr/share/apps/kflog/mapdata"
elog
elog "Browsing though /usr/share/apps/kflog might be a good idea."
}
|