# Maintainer: Hanspeter Portner # Fixes: Brian Bidulock pkgname=linuxptp pkgver=4.2 pkgrel=1 pkgdesc='An implementation of the Precision Time Protocol (PTP) according to IEEE standard 1588 for Linux.' arch=('i686' 'x86_64') url='http://linuxptp.sourceforge.net/' license=('GPL') depends=('glibc') makedepends=() source=("${pkgname}-${pkgver}.tgz::https://sourceforge.net/projects/${pkgname}/files/v${pkgver}/${pkgname}-${pkgver}.tgz/download") sha256sums=('70e38e5d2764e0217443da6f14e8846fe401a472293ac138d8419c07a665447a') build() { cd ${pkgname}-${pkgver} make EXTRA_CFLAGS="$CFLAGS" } package() { cd ${pkgname}-${pkgver} make prefix="${pkgdir}/usr" sbindir='$(prefix)/bin' mandir='$(prefix)/share/man' man8dir='$(mandir)/man8' install }