File diff 000000000000 → 000000000000
media-libs/libopenspc/libopenspc-0.3.99a.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 

	
 
inherit eutils
 

	
 
SLOT=0
 
LICENSE="LGPL-2.1"
 
KEYWORDS="~x86 ~amd64"
 
DESCRIPTION="Library to play Super Nintendo SPC music files."
 
HOMEPAGE="http://bugzilla.gnome.org/show_bug.cgi?id=348220"
 
SRC_URI="http://hg.c133.org/~clee/${P}.tar.gz"
 
IUSE="examples"
 
DEPEND=">=sys-libs/zlib-1.2"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd ${S}
 

	
 
	# If not using examples, patch them out
 
	use examples || sed -i -e 's/examples//' Makefile.am
 
}
 

	
 
src_compile() {
 
	econf || die "econf failed"
 
	emake || die "emake failed"
 
}
 

	
 
src_install() {
 
	emake DESTDIR="${D}" install || die "emake install failed"
 
}