8b6d4b20f7
git-svn-id: http://svn.sabayonlinux.org/overlay@1693 d7aec97c-591d-0410-af39-a8856400b30a
44 lines
972 B
Bash
44 lines
972 B
Bash
# Copyright 1999-2007 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
inherit autotools
|
|
|
|
DESCRIPTION="Compizconfig Python Bindings"
|
|
HOMEPAGE="http://opencompositing.org"
|
|
SRC_URI="http://releases.compiz-fusion.org/${PV}/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
RESTRICT="mirror"
|
|
|
|
DEPEND="~x11-libs/libcompizconfig-${PV}
|
|
>=dev-libs/glib-2.6
|
|
|| ( >=dev-lang/python-2.4 >=dev-lang/python-2.5 )
|
|
dev-python/pyrex"
|
|
|
|
S="${WORKDIR}/${P}"
|
|
|
|
src_compile() {
|
|
|
|
# fix for the missing VERSION file
|
|
echo "VERSION=0.6.0" > VERSION
|
|
|
|
eautoreconf || die "eautoreconf failed"
|
|
|
|
econf || die "econf failed"
|
|
emake || die "make failed"
|
|
}
|
|
|
|
src_install() {
|
|
make DESTDIR="${D}" install || die "make install failed"
|
|
}
|
|
|
|
pkg_postinst() {
|
|
ewarn "DO NOT report bugs to Gentoo's bugzilla"
|
|
einfo "Please report all bugs at http://bugs.gentoo-xeffects.org/"
|
|
einfo "Thank you on behalf of the Gentoo Xeffects team"
|
|
}
|