mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/libpgm to 5.3.128-3
This commit is contained in:
parent
50fac4f8e8
commit
c3fb4b53f9
1 changed files with 17 additions and 18 deletions
|
@ -1,4 +1,5 @@
|
||||||
# Maintainer: Kyle Keen <keenerd@gmail.com>
|
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
|
||||||
|
# Contributor: Kyle Keen <keenerd@gmail.com>
|
||||||
# Contributor: Lex Black <autumn-wind at web dot de>
|
# Contributor: Lex Black <autumn-wind at web dot de>
|
||||||
# Contributor: Vladimir Kirillov <proger@wilab.org.ua>
|
# Contributor: Vladimir Kirillov <proger@wilab.org.ua>
|
||||||
|
|
||||||
|
@ -7,38 +8,36 @@
|
||||||
|
|
||||||
pkgname=libpgm
|
pkgname=libpgm
|
||||||
pkgver=5.3.128
|
pkgver=5.3.128
|
||||||
_pkgver="${pkgver//./-}"
|
pkgrel=3
|
||||||
pkgrel=2
|
pkgdesc='Library implementing the Pragmatic General Multicast (PGM, RFC3208) reliable transport protocol (OpenPGM)'
|
||||||
pkgdesc="OpenPGM: implementation of the Pragmatic General Multicast (PGM, RFC3208)"
|
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='https://www.freshports.org/net/openpgm/'
|
url='https://github.com/steve-o/openpgm'
|
||||||
license=('LGPL2.1')
|
license=('LGPL')
|
||||||
depends=('glibc')
|
depends=('glibc')
|
||||||
makedepends=('python')
|
makedepends=('python')
|
||||||
options=(!strip)
|
source=("https://github.com/steve-o/openpgm/archive/release-${pkgver//./-}/openpgm-$pkgver.tar.gz"
|
||||||
#source=("http://openpgm.googlecode.com/files/$pkgname-$pkgver.tar.gz")
|
|
||||||
#source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/openpgm/libpgm-$pkgver.tar.gz")
|
|
||||||
source=("libpgm-$pkgver.tgz::https://github.com/steve-o/openpgm/archive/release-${_pkgver}.tar.gz"
|
|
||||||
'inline-pgm_family_string.patch')
|
'inline-pgm_family_string.patch')
|
||||||
sha256sums=('8d707ef8dda45f4a7bc91016d7f2fed6a418637185d76c7ab30b306499c6d393'
|
sha256sums=('8d707ef8dda45f4a7bc91016d7f2fed6a418637185d76c7ab30b306499c6d393'
|
||||||
'0373d16324605639442d24020e09dcda3e3ab5b86fda7b01c865b49163650706')
|
'0373d16324605639442d24020e09dcda3e3ab5b86fda7b01c865b49163650706')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$srcdir/openpgm-release-$_pkgver/openpgm/pgm"
|
cd openpgm-release-${pkgver//./-}/openpgm/pgm
|
||||||
2to3 -wn version_generator.py
|
|
||||||
# 5.3.128 is a little broken
|
# https://github.com/steve-o/openpgm/pull/66
|
||||||
cp openpgm-5.2.pc.in openpgm-5.3.pc.in
|
mv openpgm-5.2.pc.in openpgm-5.3.pc.in
|
||||||
|
|
||||||
patch -p3 -i $srcdir/inline-pgm_family_string.patch
|
patch -p3 -i $srcdir/inline-pgm_family_string.patch
|
||||||
|
|
||||||
|
./bootstrap.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/openpgm-release-$_pkgver/openpgm/pgm"
|
cd openpgm-release-${pkgver//./-}/openpgm/pgm
|
||||||
./bootstrap.sh
|
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/openpgm-release-$_pkgver/openpgm/pgm"
|
cd openpgm-release-${pkgver//./-}/openpgm/pgm
|
||||||
make prefix="$pkgdir/usr" install
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue