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-libs/libkarma/libkarma-0.1.0-r1.ebuild

42 lines
936 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libkarma/libkarma-0.1.0-r1.ebuild,v 1.5 2011/03/20 18:13:56 ssuominen Exp $
EAPI=2
inherit eutils mono toolchain-funcs
DESCRIPTION="Support library for using Rio devices with mtp"
HOMEPAGE="http://www.freakysoft.de/html/libkarma/"
SRC_URI="http://www.freakysoft.de/html/libkarma/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
RDEPEND="virtual/libiconv
media-libs/taglib
dev-lang/mono
virtual/libusb:0"
DEPEND="${RDEPEND}"
MAKEOPTS="${MAKEOPTS} -j1"
src_prepare() {
epatch "${FILESDIR}"/${P}-destdir.patch
# Make this respect LDFLAGS, bug #336151
epatch "${FILESDIR}"/${P}-ldflags.patch
}
src_compile() {
tc-export AR CC RANLIB
emake all || die
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc THANKS TODO
mono_multilib_comply
}