~necoro/catapult/overlay

« back to all changes in this revision

Viewing changes to app-portage/catapult/catapult-9999.ebuild

  • Committer: Necoro
  • Date: 2007-11-01 00:17:33 UTC
  • Revision ID: svn-v3-single-overlay:62b72bf6-f7c0-4232-8d11-646e4a2d0066:overlay:26
 r31@Devoty:  necoro | 2007-11-01 01:17:00 +0100
 Added cmake build system

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Distributed under the terms of the GNU General Public License v2
3
3
# $Header: $
4
4
 
5
 
inherit subversion
 
5
#inherit subversion
6
6
 
7
7
ESVN_REPO_URI="https://svn.origo.ethz.ch/catapult/catapult"
8
8
ESVN_PROJECT="catapult"
9
9
 
10
10
DESCRIPTION="The Catapult Backend"
11
11
HOMEPAGE="http://catapult.origo.ethz.ch"
12
 
SRC_URI=""
13
12
 
14
13
LICENSE="GPL-2"
15
14
SLOT="0"
18
17
 
19
18
DEFAULT_DEPEND="!portage? ( app-portage/catapult-portage )"
20
19
 
21
 
DEPEND=""
 
20
DEPEND="dev-util/cmake"
22
21
RDEPEND="sys-apps/dbus
23
22
                portage? ( app-portage/catapult-portage )
24
23
                $DEFAULT_DEPEND"
30
29
        fi
31
30
}
32
31
 
 
32
src_compile ()
 
33
{
 
34
        mkdir build
 
35
        cd build
 
36
        
 
37
        cmake ..
 
38
        emake
 
39
}
 
40
 
33
41
src_install ()
34
42
{       
 
43
        cd build
 
44
        emake DESTDIR="${D}" install
 
45
 
 
46
        cd ..
35
47
        newbin "catapult-start.sh" catapult-start
36
48
        dodir /usr/libexec/catapult
37
49
        keepdir /usr/libexec/catapult