/[gentoo-x86]/media-sound/audtty/audtty-0.1.8.ebuild
Gentoo

Contents of /media-sound/audtty/audtty-0.1.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Jul 5 06:39:19 2008 UTC (12 years, 4 months ago) by drac
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump wrt #230309 by Hlevyn.
(Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc3 x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/audtty/audtty-0.1.8.ebuild,v 1.2 2008/04/19 14:18:36 drac Exp $
4
5 inherit autotools eutils toolchain-funcs
6
7 DESCRIPTION="Control Audacious from the command line with a friendly ncurses interface"
8 HOMEPAGE="http://audtty.alioth.debian.org"
9 SRC_URI="http://${PN}.alioth.debian.org/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~ppc ~x86"
14 IUSE=""
15
16 RDEPEND="sys-libs/ncurses
17 >=media-sound/audacious-1.4.4"
18 DEPEND="${RDEPEND}
19 dev-util/pkgconfig"
20
21 pkg_setup() {
22 if has_version "=media-sound/audacious-1.4*"; then
23 if ! built_with_use media-sound/audacious dbus; then
24 die "Re-emerge media-sound/audacious with USE dbus."
25 fi
26 fi
27 }
28
29 src_unpack() {
30 unpack ${A}
31 cd "${S}"
32 # fixing Debian fsck up.
33 epatch "${FILESDIR}"/${P}-cc-and-destdir.patch
34 eautoreconf
35 }
36
37 src_compile() {
38 tc-export CC
39 econf
40 emake || die "emake failed."
41 }
42
43 src_install() {
44 emake DESTDIR="${D}" install || die "emake install failed."
45 dodoc ChangeLog README
46 }
47
48 pkg_postinst() {
49 elog "In order to run audtty over ssh or on a seperate TTY locally you need"
50 elog "to download and run the following script in a terminal on your desktop:"
51 elog ""
52 elog "http://${PN}.alioth.debian.org/dbus.sh"
53 elog ""
54 elog "Once run you will need to add ~/.dbus-session to your ~/.bashrc file."
55 }

  ViewVC Help
Powered by ViewVC 1.1.20