File: tucnak2-2.05.ebuild

package info (click to toggle)
tucnak2 2.11-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 8,312 kB
  • ctags: 3,843
  • sloc: ansic: 32,466; sh: 3,142; perl: 294; makefile: 172
file content (39 lines) | stat: -rw-r--r-- 929 bytes parent folder | download | duplicates (18)
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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Author: Florian Evers <florian-evers@gmx.de>
# $Header: $

inherit eutils
 
DESCRIPTION="Amateur Radio VHF contest logbook"
HOMEPAGE="http://tucnak.nagano.cz/tucnak2en.html"
SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86"
IUSE="sdl"

DEPEND="virtual/libc
	sdl? ( >=media-libs/libsdl-1.1.4 )"
RESTRICT="nomirror"

src_compile() {
        local myconf=""
	use sdl || myconf="${myconf} --disable-sdl"

	econf ${myconf} || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	make DESTDIR=${D} install || die
}

pkg_postinst() {
	einfo "You can emerge the following additional packages:"
	einfo "  media-radio/tucnak2-data  : Graphics for tucnak2"
	einfo "  media-radio/cwdaemon      : A morse daemon"
	einfo "  media-radio/ssbd          : SSB daemon (voice keyer)"
}