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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat May 5 08:11:22 2012 UTC (2 years, 7 months ago) by mgorny
Branch: MAIN
Changes since 1.4: +2 -2 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101_p8/cvs/Linux x86_64)

1 # Copyright 1999-2012 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.12.ebuild,v 1.4 2012/02/24 14:52:29 phajdan.jr Exp $
4
5 EAPI=4
6 inherit autotools base toolchain-funcs
7
8 DESCRIPTION="Control Audacious from the command line with a friendly ncurses interface"
9 HOMEPAGE="http://audtty.alioth.debian.org"
10 SRC_URI="http://www.code-monkeys.org/${PN}/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~alpha amd64 ppc x86"
15 IUSE=""
16
17 RDEPEND="sys-libs/ncurses
18 >=media-sound/audacious-2.4.4"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig"
21
22 PATCHES=( "${FILESDIR}/${P}-cc-and-destdir.patch" )
23
24 src_prepare() {
25 base_src_prepare
26 eautoreconf
27 }
28
29 src_compile() {
30 tc-export CC
31 emake || die "emake failed."
32 }
33
34 src_install() {
35 emake DESTDIR="${D}" install || die "emake install failed."
36 dodoc ChangeLog README
37 }
38
39 pkg_postinst() {
40 elog "In order to run audtty over ssh or on a seperate TTY locally you need"
41 elog "to download and run the following script in a terminal on your desktop:"
42 elog ""
43 elog "http://${PN}.alioth.debian.org/dbus.sh"
44 elog ""
45 elog "Once run you will need to add ~/.dbus-session to your ~/.bashrc file."
46 }

  ViewVC Help
Powered by ViewVC 1.1.20