blob: 84b2defdf685c06ab983e188290aa1131d1f624f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/dsx/dsx-0.1.ebuild,v 1.8 2010/06/06 10:05:59 ssuominen Exp $
EAPI=2
PYTHON_DEPEND="2"
inherit python
DESCRIPTION="command line selection of your X desktop environment"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE=""
RDEPEND="x11-apps/xinit"
DEPEND=""
pkg_setup() {
python_set_active_version 2
}
src_prepare() {
cp "${FILESDIR}"/${P} "${T}"
python_convert_shebangs -r 2 "${T}"
}
src_install() {
newbin "${T}"/${P} dsx
}
|