From eff33d58c93714a50157f53fccda3edbc87a8544 Mon Sep 17 00:00:00 2001 From: uriahheep Date: Thu, 17 Sep 2015 23:54:56 +0000 Subject: [PATCH] New package: pps-tools-20120407 --- srcpkgs/pps-tools-devel | 1 + srcpkgs/pps-tools/template | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 120000 srcpkgs/pps-tools-devel create mode 100644 srcpkgs/pps-tools/template diff --git a/srcpkgs/pps-tools-devel b/srcpkgs/pps-tools-devel new file mode 120000 index 00000000000..cfe4ea55cfa --- /dev/null +++ b/srcpkgs/pps-tools-devel @@ -0,0 +1 @@ +pps-tools \ No newline at end of file diff --git a/srcpkgs/pps-tools/template b/srcpkgs/pps-tools/template new file mode 100644 index 00000000000..96d2fdf973a --- /dev/null +++ b/srcpkgs/pps-tools/template @@ -0,0 +1,27 @@ +# 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 " +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 + } +}