Files @ dc53e5004f02
Branch filter:

Location: portage-overlay.git/media-libs/libopenspc/libopenspc-0.3.99a.ebuild

dc53e5004f02 692 B application/vnd.gentoo.ebuild Show Annotation Show as Raw Download as Raw
chain
update net-misc/pyload to 0.4.9
# 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"
}