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.
gentoo-overlay/media-sound/justeport/justeport-0.2.ebuild

40 lines
944 B

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/justeport/justeport-0.2.ebuild,v 1.3 2009/08/03 13:22:50 ssuominen Exp $
inherit mono multilib
MY_P=JustePort-${PV}
DESCRIPTION="Stream audio to your AirPort Express"
HOMEPAGE="http://nanocrew.net/software/justeport/"
SRC_URI="http://nanocrew.net/sw/justeport/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-lang/mono"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
cp "${FILESDIR}"/wrapper-script .
sed -i -e "s:LIBDIR:$(get_libdir):" wrapper-script || die "sed failed."
}
src_compile() {
emake || die "emake failed."
}
src_install() {
insinto /usr/$(get_libdir)/justeport
doins *.exe || die "doins failed."
newbin wrapper-script justeport || die "newbin failed."
dodoc AUTHORS ChangeLog README THANKS
}