Skip to content

Instantly share code, notes, and snippets.

@bbidulock
Created January 7, 2015 12:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bbidulock/26a45d6eb3514310cd33 to your computer and use it in GitHub Desktop.
Save bbidulock/26a45d6eb3514310cd33 to your computer and use it in GitHub Desktop.
PKGBUILD for linuxptp
# Maintainer: Hanspeter Portner <ventosus at airpost dot net>
pkgname=linuxptp
pkgver=1.5
pkgrel=2
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=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}-${pkgver}.tgz/download"
"prefix.patch")
md5sums=("f7f24174b7ce52eccaed1748409057b0"
"05922d53987cc15eb273e0bb9152fe1d")
build() {
cd ${pkgname}-${pkgver}
make EXTRA_CFLAGS="$CFLAGS"
}
package() {
cd ${pkgname}-${pkgver}
make prefix="${pkgdir}/usr" mandir='$(prefix)/share/man' man8dir='$(mandir)/man8' install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment