PKGBUILDs/extra/libpgm/PKGBUILD

44 lines
1.3 KiB
Bash
Raw Normal View History

2023-06-03 18:28:03 +00:00
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Kyle Keen <keenerd@gmail.com>
2021-03-27 01:05:47 +00:00
# Contributor: Lex Black <autumn-wind at web dot de>
# Contributor: Vladimir Kirillov <proger@wilab.org.ua>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch from debian to fix error in header used by other programs
pkgname=libpgm
pkgver=5.3.128
2023-06-03 18:28:03 +00:00
pkgrel=3
pkgdesc='Library implementing the Pragmatic General Multicast (PGM, RFC3208) reliable transport protocol (OpenPGM)'
2021-03-27 01:05:47 +00:00
arch=('x86_64')
2023-06-03 18:28:03 +00:00
url='https://github.com/steve-o/openpgm'
license=('LGPL')
2021-03-27 01:05:47 +00:00
depends=('glibc')
makedepends=('python')
2023-06-03 18:28:03 +00:00
source=("https://github.com/steve-o/openpgm/archive/release-${pkgver//./-}/openpgm-$pkgver.tar.gz"
2021-03-27 01:05:47 +00:00
'inline-pgm_family_string.patch')
sha256sums=('8d707ef8dda45f4a7bc91016d7f2fed6a418637185d76c7ab30b306499c6d393'
'0373d16324605639442d24020e09dcda3e3ab5b86fda7b01c865b49163650706')
prepare() {
2023-06-03 18:28:03 +00:00
cd openpgm-release-${pkgver//./-}/openpgm/pgm
# https://github.com/steve-o/openpgm/pull/66
mv openpgm-5.2.pc.in openpgm-5.3.pc.in
2021-03-27 01:05:47 +00:00
patch -p3 -i $srcdir/inline-pgm_family_string.patch
2023-06-03 18:28:03 +00:00
./bootstrap.sh
2021-03-27 01:05:47 +00:00
}
build() {
2023-06-03 18:28:03 +00:00
cd openpgm-release-${pkgver//./-}/openpgm/pgm
2021-03-27 01:05:47 +00:00
./configure --prefix=/usr
make
}
package() {
2023-06-03 18:28:03 +00:00
cd openpgm-release-${pkgver//./-}/openpgm/pgm
make DESTDIR="$pkgdir" install
2021-03-27 01:05:47 +00:00
}