missing ebuild

git-svn-id: http://svn.sabayonlinux.org/overlay@552 d7aec97c-591d-0410-af39-a8856400b30a
This commit is contained in:
lxnay
2006-12-25 15:12:29 +00:00
parent dc6451638f
commit b4872049e0
@@ -0,0 +1,43 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxf86config/pyxf86config-0.3.30.ebuild,v 1.2 2006/09/05 23:17:31 dberkholz Exp $
inherit python rpm eutils
# Tag for which Fedora Core version it's from
FCVER="6"
# Revision of the RPM. Shouldn't affect us, as we're just grabbing the source
# tarball out of it
RPMREV="2"
DESCRIPTION="Python wrappers for libxf86config"
HOMEPAGE="http://fedora.redhat.com/projects/config-tools/"
SRC_URI="mirror://fedora/${FCVER}/source/SRPMS/${P}-${RPMREV}.fc${FCVER}.src.rpm"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86 ~amd64"
IUSE=""
RDEPEND="=dev-libs/glib-2*
dev-lang/python"
DEPEND="${RDEPEND}
>=x11-base/xorg-server-1.1.1-r1"
src_unpack() {
rpm_src_unpack
cd ${S}
#epatch ${FILESDIR}/${PN}-cflags.patch
}
src_compile() {
python_version
cd ${S}
export CFLAGS="${CFLAGS} -fPIC"
./configure \
--with-python-version=${PYVER} \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
}