blob: f12b1da85213bfcf221c137067728a3ff42b9bd9 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ada/aunit/aunit-1.03.ebuild,v 1.1 2006/11/14 13:57:53 george Exp $
inherit gnat
IUSE=""
DESCRIPTION="Aunit, Ada unit testing framework"
SRC_URI="https://libre2.adacore.com/aunit/${P}p-src.tgz"
HOMEPAGE="https://libre2.adacore.com/aunit/"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
SLOT="0"
DEPEND="virtual/gnat"
S="${WORKDIR}/AUnit"
lib_compile() {
# nothing to be done
:
}
lib_install() {
# nothing to be done
:
}
src_install () {
dodir ${AdalibSpecsDir}/${PN}
insinto ${AdalibSpecsDir}/${PN}
doins aunit/*/*.ad?
dodir ${AdalibDataDir}/${PN}/template
insinto ${AdalibDataDir}/${PN}/template
doins template/*.ad?
dodir ${AdalibDataDir}/${PN}/test
insinto ${AdalibDataDir}/${PN}/test
doins test/*.ad?
#set up environment
echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" > ${LibEnv}
gnat_src_install
# remove empty dirs - no objects needed to be built
rm -rf ${D}/usr/lib
dodoc COPYING README
dohtml AUnit.html
}
|