mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:57:16 +08:00
32 lines
824 B
Bash
32 lines
824 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/libpgm
|
|
|
|
pkgname=libpgm
|
|
pkgver=5.2.122
|
|
pkgrel=1
|
|
pkgdesc="OpenPGM: implementation of the Pragmatic General Multicast (PGM, RFC3208)"
|
|
arch=('x86_64')
|
|
url="http://code.google.com/p/openpgm"
|
|
license=('LGPL2.1')
|
|
depends=('glibc')
|
|
makedepends=('python2')
|
|
options=(!strip)
|
|
source=("http://openpgm.googlecode.com/files/$pkgname-$pkgver.tar.gz")
|
|
sha256sums=('6b895f550b95284dcde7189b01e04a9a1c1f94579af31b1eebd32c2207a1ba2c')
|
|
|
|
|
|
prepare() {
|
|
cd "$srcdir/$pkgname-$pkgver/openpgm/pgm"
|
|
find . -type f -exec sed -i 's/python/python2/g' {} \+
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver/openpgm/pgm"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver/openpgm/pgm"
|
|
make prefix="$pkgdir/usr" install
|
|
}
|