# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils DESCRIPTION="pyflac provides Python wrappers to libFLAC" HOMEPAGE="http://sacredchao.net/~piman/software/python.shtml#flac" SRC_URI="http://sacredchao.net/~piman/software/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND=">=media-libs/flac-1.1.2-r3 >=dev-lang/python-2.3" DEPEND="${RDEPEND} >=dev-lang/swig-1.3.21" src_compile() { emake || die "emake failed" } src_install() { distutils_src_install insinto /usr/share/doc/${PF}/examples doins examples/* || die } pkg_postinst() { einfo "emerge pyao to run some of the examples" }