blob: 10ba6f7b732598720db9d4205c174086a3940e04 (
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
|
# Contributor: Rod Kay <charlie5 on #ada at freenode.net>
pkgname=polyorb
pkgver=252702
pkgrel=1
pkgdesc="PolyOrb provides the Distributed Systems Annex (DSA) to build distributed applications with Ada."
arch=('i686' 'x86_64')
url="http://libre.adacore.com/libre/tools/polyorb"
license=('GPL')
depends=("gcc-ada")
makedepends=("nawk" "subversion")
source=(svn+http://svn.eu.adacore.com/anonsvn/Dev/trunk/polyorb#revision=$pkgver
patch-Makefile.in)
md5sums=('SKIP'
'40476ea50c9ac1c2473d9801e765be04')
prepare()
{
## Force use of pyhon2
#
cd $srcdir
rm -fr temp_bin
mkdir temp_bin
ln -s /usr/bin/python2 temp_bin/python
ln -s /usr/bin/python2-config temp_bin/python-config
cd $srcdir/$pkgname
patch -p0 -i ../patch-Makefile.in
}
build()
{
cd $srcdir/$pkgname
PATH=$srcdir/temp_bin:$PATH
PYTHON=python2 support/reconfig
PYTHON=python2 ./configure --prefix=/usr --with-appli-perso="dsa" --with-proto-perso="giop"
make -j1
}
package()
{
cd $srcdir/$pkgname
PATH=$srcdir/temp_bin:$PATH
PYTHON=python2 DESTDIR=$pkgdir make install
}
|