# Copyright 2007 Sabayon Linux # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils MY_PV=${PV/_/} DESCRIPTION="Wine-doors is a package manager for wine." HOMEPAGE="http://www.wine-doors.org" SRC_URI="http://www.wine-doors.org/releases/${PN}-${MY_PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" S=${WORKDIR}/${PN}-${MY_PV} RDEPEND=" dev-lang/python dev-python/pycairo x11-libs/cairo dev-python/gnome-python-desktop app-arch/cabextract app-arch/unzip app-arch/zip app-arch/gzip app-arch/bzip2 app-arch/tar >=dev-util/glade-3.2.0 dev-libs/libxml2 app-pda/orange app-emulation/wine" DEPEND="${RDEPEND}" pkg_setup() { if ! built_with_use dev-libs/libxml2 python ; then error "${PN} needs dev-libs/libxml2 compiled with USE=\"python\"" die "wine-doors needs dev-libs/libxml2 compiled with Python support" fi } src_compile() { einfo "nothing to compile" } src_install() { distutils_src_install --temp="${D}" dodir /etc/wine-doors }