1 # Maintainer: Kyle Keen <keenerd@gmail.com>
2 # Contributor: Lex Black <autumn-wind at web dot de>
3 # Contributor: Vladimir Kirillov <proger@wilab.org.ua>
7 _pkgver="${pkgver//./-}"
9 pkgdesc="OpenPGM: implementation of the Pragmatic General Multicast (PGM, RFC3208)"
11 url='https://www.freshports.org/net/openpgm/'
14 makedepends=('python')
16 #source=("http://openpgm.googlecode.com/files/$pkgname-$pkgver.tar.gz")
17 #source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/openpgm/libpgm-$pkgver.tar.gz")
18 source=("libpgm-$pkgver.tgz::https://github.com/steve-o/openpgm/archive/release-${_pkgver}.tar.gz")
19 sha256sums=('8d707ef8dda45f4a7bc91016d7f2fed6a418637185d76c7ab30b306499c6d393')
22 cd "$srcdir/openpgm-release-$_pkgver/openpgm/pgm"
23 2to3 -wn version_generator.py
24 # 5.3.128 is a little broken
25 cp openpgm-5.2.pc.in openpgm-5.3.pc.in
29 cd "$srcdir/openpgm-release-$_pkgver/openpgm/pgm"
31 ./configure --prefix=/usr
36 cd "$srcdir/openpgm-release-$_pkgver/openpgm/pgm"
37 make prefix="$pkgdir/usr" install