blob: cb97ae6bae8470ddf111c93dd000e02d8d5eb1f4 (
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
|
# Maintainer: Rod Kay <charlie5 on #ada at freenode.net>
pkgname=polyorb
pkgver=20201020
pkgrel=1
pkgdesc="Provides the Distributed Systems Annex (DSA) to build distributed applications with Ada."
arch=('i686' 'x86_64')
url="https://github.com/AdaCore/PolyORB"
license=('GPL')
depends=('gcc-ada' 'xmlada')
makedepends=('gprbuild' 'autoconf')
source=(https://github.com/AdaCore/PolyORB/archive/master.zip
patch-Makefile.in)
md5sums=('SKIP'
'40476ea50c9ac1c2473d9801e765be04')
prepare()
{
## Force use of python2
#
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/PolyORB-master
patch -p0 -i ../patch-Makefile.in
}
build()
{
cd $srcdir/PolyORB-master
PATH=$srcdir/temp_bin:$PATH
support/reconfig
./configure --prefix=/usr --with-appli-perso="dsa" --with-proto-perso="giop" --enable-warnings=n
make -j1 all
}
package()
{
cd $srcdir/PolyORB-master
PATH=$srcdir/temp_bin:$PATH
DESTDIR=$pkgdir make install
}
|