/[gentoo-x86]/media-sound/audtty/audtty-0.1.9a-r1.ebuild
Gentoo

Contents of /media-sound/audtty/audtty-0.1.9a-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


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

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

1 mgorny 1.4 # Copyright 1999-2012 Gentoo Foundation
2 chainsaw 1.1 # Distributed under the terms of the GNU General Public License v2
3 mgorny 1.4 # $Header: /var/cvsroot/gentoo-x86/media-sound/audtty/audtty-0.1.9a-r1.ebuild,v 1.3 2009/08/09 11:37:24 nixnut Exp $
4 chainsaw 1.1
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 nixnut 1.3 KEYWORDS="~alpha amd64 ppc x86"
14 chainsaw 1.1 IUSE=""
15    
16     RDEPEND="sys-libs/ncurses
17     >=media-sound/audacious-1.5.1"
18     DEPEND="${RDEPEND}
19 mgorny 1.4 virtual/pkgconfig"
20 chainsaw 1.1
21     S=${WORKDIR}/${PN}
22    
23     src_unpack() {
24     unpack ${A}
25     cd "${S}"
26     epatch "${FILESDIR}"/${P}-cc-and-destdir.patch
27     eautoreconf
28     }
29    
30     src_compile() {
31     tc-export CC
32     econf
33     emake || die "emake failed."
34     }
35    
36     src_install() {
37     emake DESTDIR="${D}" install || die "emake install failed."
38     dodoc ChangeLog README
39     }
40    
41     pkg_postinst() {
42     elog "In order to run audtty over ssh or on a seperate TTY locally you need"
43     elog "to download and run the following script in a terminal on your desktop:"
44     elog ""
45     elog "http://${PN}.alioth.debian.org/dbus.sh"
46     elog ""
47     elog "Once run you will need to add ~/.dbus-session to your ~/.bashrc file."
48     }

  ViewVC Help
Powered by ViewVC 1.1.20