blob: 7a4b22a640f3ba68395cd9830bf3c2807f261195 (
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
34
35
36
37
38
39
40
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/unsermake/unsermake-0.4.20050710.ebuild,v 1.4 2007/01/05 17:00:44 flameeyes Exp $
inherit python
IUSE=""
DESCRIPTION="Unsermake - Advanced KDE build system"
HOMEPAGE="http://wiki.kde.org/tiki-index.php?page=unsermake"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
KEYWORDS="~x86 ~ppc ~amd64"
LICENSE="GPL-2"
SLOT="0"
S=${WORKDIR}/unsermake
DEPEND=">=dev-lang/python-2.2
!<kde-base/kdelibs-3.4"
RDEPEND="${RDEPEND}"
src_compile()
{
return
}
src_install()
{
python_version
UNSERMAKEDIR=/usr/lib/python${PYVER}/site-packages/unsermake/
dodir ${UNSERMAKEDIR}
cp -pPR ${S}/*.py ${D}/${UNSERMAKEDIR}
cp -pPR ${S}/*.um ${D}/${UNSERMAKEDIR}
cp -pPR ${S}/unsermake ${D}/${UNSERMAKEDIR}
dodir /usr/bin
dosym ${UNSERMAKEDIR}/unsermake /usr/bin/unsermake
}
pkg_postinst()
{
elog "Unsermake builds are highly experimental; use at your own risk"
}
|