Skip to content

Instantly share code, notes, and snippets.

@bbidulock bbidulock/PKGBUILD
Created Jan 7, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.