summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-07-11 04:29:38 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-07-11 04:29:38 +0000
commite3cd1c82c725b3bd284d58b62a8dedd5f3e7b6f3 (patch)
treee3449592c369e4e1208442ba5e196875cf48e7d9 /net-misc/pps-tools
parentStop depending on dev-util/pkgconfig wrt #374775 by dragos240 (diff)
downloadgentoo-2-e3cd1c82c725b3bd284d58b62a8dedd5f3e7b6f3.tar.gz
gentoo-2-e3cd1c82c725b3bd284d58b62a8dedd5f3e7b6f3.tar.bz2
gentoo-2-e3cd1c82c725b3bd284d58b62a8dedd5f3e7b6f3.zip
New package requested by bug #374613. Initial ebuild by Robin H. Johnson <robbat2@gentoo.org>.
(Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/pps-tools')
-rw-r--r--net-misc/pps-tools/ChangeLog11
-rw-r--r--net-misc/pps-tools/metadata.xml6
-rw-r--r--net-misc/pps-tools/pps-tools-0.0.20110710.ebuild42
3 files changed, 59 insertions, 0 deletions
diff --git a/net-misc/pps-tools/ChangeLog b/net-misc/pps-tools/ChangeLog
new file mode 100644
index 000000000000..316584e1b307
--- /dev/null
+++ b/net-misc/pps-tools/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-misc/pps-tools
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/pps-tools/ChangeLog,v 1.1 2011/07/11 04:29:38 robbat2 Exp $
+
+*pps-tools-0.0.20110710 (11 Jul 2011)
+
+ 11 Jul 2011; Robin H. Johnson <robbat2@gentoo.org>
+ +pps-tools-0.0.20110710.ebuild, +metadata.xml:
+ New package requested by bug #374613. Initial ebuild by Robin H. Johnson
+ <robbat2@gentoo.org>.
+
diff --git a/net-misc/pps-tools/metadata.xml b/net-misc/pps-tools/metadata.xml
new file mode 100644
index 000000000000..b87b69a7d04e
--- /dev/null
+++ b/net-misc/pps-tools/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>base-system</herd>
+</pkgmetadata>
+
diff --git a/net-misc/pps-tools/pps-tools-0.0.20110710.ebuild b/net-misc/pps-tools/pps-tools-0.0.20110710.ebuild
new file mode 100644
index 000000000000..d7414611a23c
--- /dev/null
+++ b/net-misc/pps-tools/pps-tools-0.0.20110710.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/pps-tools/pps-tools-0.0.20110710.ebuild,v 1.1 2011/07/11 04:29:38 robbat2 Exp $
+
+EAPI=3
+
+inherit eutils
+
+GITHUB_USER="ago"
+PV_COMMIT="74c32c318f63bca5b5db"
+
+DESCRIPTION="User-space tools for LinuxPPS"
+HOMEPAGE="http://wiki.enneenne.com/index.php/LinuxPPS_installation"
+SRC_URI="http://github.com/${GITHUB_USER}/${PN}/tarball/${PV_COMMIT} -> ${PN}-git-${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${GITHUB_USER}-${PN}-${PV_COMMIT:0:7}"
+
+src_prepare() {
+ sed -i \
+ -e '/^CFLAGS.*ggdb/d' \
+ -e '/^CFLAGS.*O2/s,-O2,,g' \
+ -e '/^\.PHONY:/s,all,,g' \
+ Makefile
+}
+
+src_compile() {
+ emake depend
+ emake all
+}
+
+src_install() {
+ dodir /usr/bin /usr/include
+ emake install DESTDIR="${D}"
+}