You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.2 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $
EAPI=4
inherit autotools base toolchain-funcs
DESCRIPTION="Control Audacious from the command line with a friendly ncurses interface"
HOMEPAGE="http://audtty.alioth.debian.org"
SRC_URI="http://www.code-monkeys.org/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ppc x86"
IUSE=""
RDEPEND="sys-libs/ncurses
>=media-sound/audacious-2.4.4"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
PATCHES=( "${FILESDIR}/${P}-cc-and-destdir.patch" )
src_prepare() {
base_src_prepare
eautoreconf
}
src_compile() {
tc-export CC
emake || die "emake failed."
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc ChangeLog README
}
pkg_postinst() {
elog "In order to run audtty over ssh or on a seperate TTY locally you need"
elog "to download and run the following script in a terminal on your desktop:"
elog ""
elog "http://${PN}.alioth.debian.org/dbus.sh"
elog ""
elog "Once run you will need to add ~/.dbus-session to your ~/.bashrc file."
}