void-packages/srcpkgs/pps-tools/template
2015-09-17 23:54:56 +00:00

27 lines
718 B
Bash

# Template file for 'pps-tools'
_githash="0deb9c7e135e9380a6d09e9d2e938a146bb698c8"
pkgname="pps-tools"
version="20120407"
revision=1
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"
wrksrc=pps-tools-$_githash
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
}
}