/[gentoo-x86]/media-radio/xlog/xlog-2.0.11.ebuild
Gentoo

Contents of /media-radio/xlog/xlog-2.0.11.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Jan 5 10:47:05 2014 UTC (3 years, 9 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #495792

(Portage version: 2.2.7/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-radio/xlog/xlog-2.0.11.ebuild,v 1.2 2014/01/04 16:00:45 nimiux Exp $
4
5 EAPI=4
6
7 inherit autotools eutils fdo-mime toolchain-funcs
8 MY_P=${P/_}
9
10 DESCRIPTION="An amateur radio logging program"
11 HOMEPAGE="http://www.nongnu.org/xlog"
12 SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${MY_P}.tar.gz"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17 IUSE=""
18
19 RDEPEND="media-libs/hamlib
20 dev-libs/glib:2
21 x11-libs/gtk+:2"
22 DEPEND="${RDEPEND}
23 sys-devel/gettext
24 virtual/pkgconfig"
25
26 S=${WORKDIR}/${MY_P}
27
28 src_prepare() {
29 epatch "${FILESDIR}/${PN}-2.0.7-desktop.patch"
30
31 # Let portage handle updating mime/desktop databases,
32 epatch "${FILESDIR}/${PN}-1.9-desktop-update.patch"
33 # Drop -Werror
34 sed -i -e "s:-Werror::" configure.in || die
35 eautoreconf
36 }
37
38 src_configure() {
39 # mime-update causes file collisions if enabled
40 econf --disable-mime-update --disable-desktop-update \
41 --docdir=/usr/share/doc/${PF}
42 }
43
44 src_compile() {
45 emake AR="$(tc-getAR)"
46 }
47
48 src_install() {
49 emake DESTDIR="${D}" install
50 docompress -x /usr/share/doc/${PF}/{KEYS,ChangeLog,TODO,BUGS}
51 dodoc AUTHORS data/doc/THANKS NEWS README
52 }
53
54 pkg_postinst() {
55 fdo-mime_desktop_database_update
56 fdo-mime_mime_database_update
57 }
58
59 pkg_postrm() {
60 fdo-mime_desktop_database_update
61 fdo-mime_mime_database_update
62 }

  ViewVC Help
Powered by ViewVC 1.1.20