blob: a8395db8b842e04fb984164a9a1e74a8d36b5108 (
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
|
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
pkgname=libpgm-git
pkgver=r1232.fcc46a11
pkgrel=1
pkgdesc="OpenPGM: implementation of the Pragmatic General Multicast (PGM, RFC3208)"
arch=('x86_64')
url='https://www.freshports.org/net/openpgm/'
license=('LGPL2.1')
depends=('glibc')
makedepends=('python2')
_name=openpgm
provides=('libpgm')
conflicts=('libpgm')
source=("git+https://github.com/steve-o/openpgm.git")
sha256sums=('SKIP')
pkgver() {
cd "$_name"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/$_name/openpgm/pgm"
find . -type f -exec sed -i 's/python/python2/g' {} \+
}
build() {
cd "$srcdir/$_name/openpgm/pgm"
autoreconf -i
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$_name/openpgm/pgm"
make prefix="$pkgdir/usr" install
}
|