updated on Fri Jan 20 16:18:17 UTC 2012
[aur-mirror.git] / ptpd / PKGBUILD
blob61f707443ce9f02bde7fa72550e89e7ee808869f
1 # Maintainer: ansgras <ataflinski@uni-koblenz.de>
3 pkgname=ptpd
4 pkgver=1.1.0
5 pkgrel=1
6 pkgdesc="The Precicion Time Protocol Daemon is a BSD-licensed implementation of the IEEE 1588. It provides clock synchronization over local networks."
7 arch=(i686 x86_64)
8 url="http://ptpd.sourceforge.net/"
9 license=('BSD')
10 groups=
11 provides=
12 depends=()
13 makedepends=()
14 conflicts=()
15 source=(http://switch.dl.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz ptpd.init)
16 md5sums=('faa4823576dd49ccc94b741ff32b03f5'
17          'f5b0751629e90e05e120926aa095908d')
18 build() {
19   cd $srcdir/$pkgname-$pkgver/src
20   make
22 package() {  
23   cd $srcdir/$pkgname-$pkgver/src
24   mkdir $pkgdir/usr
25   mkdir $pkgdir/usr/bin
26   cp ptpd $pkgdir/usr/bin/ptpd
27   mkdir $pkgdir/etc
28   mkdir $pkgdir/etc/rc.d
29   cp $srcdir/ptpd.init $pkgdir/etc/rc.d/ptpd
30   chmod +x $pkgdir/etc/rc.d/ptpd