description="OpenPGM: implementation of the Pragmatic General Multicast (PGM, RFC3208)"
url="https://www.freshports.org/net/openpgm/"

packager="tnut <tnut@nutyx.org>"

run=(python2)

name=libpgm
version=5.2.122
release=3

source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/openpgm/$name-$version.tar.gz)

build() {
cd $name-$version/openpgm/pgm
./configure --prefix=/usr
make
make prefix=$PKG/usr install

# Obsolet lib
rm $PKG/usr/lib/libpgm.la
}
