vp-build/srcpkgs/pps-tools/template

26 lines
714 B
Bash

# Template file for 'pps-tools'
pkgname=pps-tools
version=20120407
revision=2
_githash="0deb9c7e135e9380a6d09e9d2e938a146bb698c8"
wrksrc="pps-tools-${_githash}"
build_style=gnu-makefile
short_desc="Tools for LinuxPPS (pulse-per-second)"
maintainer="uriahheep <uriahheep@gmail.com>"
license="GPL-2"
homepage="http://linuxpps.org/wiki/index.php/Main_Page"
distfiles="https://github.com/ago/pps-tools/archive/${_githash}.tar.gz"
checksum=28d4e5aa845f659a6ab4174bbf579e22e2d2c87dc72fd6d07306a6a249c27c76
do_install() {
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/include/sys
make DESTDIR=${DESTDIR} install
}
pps-tools-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}