summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-04-13 14:22:20 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-04-13 14:22:20 +0000
commit47216f9f47e0326ea5ec6bc5be6aaedb76d2af19 (patch)
tree03b4e936b1685524958a2607b0e3bf91069192f1 /app-misc/bgrep
parentNon-Maintainer Version Bump (diff)
downloadgentoo-2-47216f9f47e0326ea5ec6bc5be6aaedb76d2af19.tar.gz
gentoo-2-47216f9f47e0326ea5ec6bc5be6aaedb76d2af19.tar.bz2
gentoo-2-47216f9f47e0326ea5ec6bc5be6aaedb76d2af19.zip
Initial import of bgrep (binary grep).
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/bgrep')
-rw-r--r--app-misc/bgrep/ChangeLog10
-rw-r--r--app-misc/bgrep/bgrep-0_p20110121.ebuild46
-rw-r--r--app-misc/bgrep/metadata.xml8
3 files changed, 64 insertions, 0 deletions
diff --git a/app-misc/bgrep/ChangeLog b/app-misc/bgrep/ChangeLog
new file mode 100644
index 000000000000..1ebf061a720e
--- /dev/null
+++ b/app-misc/bgrep/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-misc/bgrep
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/bgrep/ChangeLog,v 1.1 2011/04/13 14:22:20 flameeyes Exp $
+
+*bgrep-0_p20110121 (13 Apr 2011)
+
+ 13 Apr 2011; Diego E. Pettenò <flameeyes@gentoo.org>
+ +bgrep-0_p20110121.ebuild, +metadata.xml:
+ Initial import of bgrep (binary grep).
+
diff --git a/app-misc/bgrep/bgrep-0_p20110121.ebuild b/app-misc/bgrep/bgrep-0_p20110121.ebuild
new file mode 100644
index 000000000000..20a2844d56f8
--- /dev/null
+++ b/app-misc/bgrep/bgrep-0_p20110121.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/bgrep/bgrep-0_p20110121.ebuild,v 1.1 2011/04/13 14:22:20 flameeyes Exp $
+
+EAPI=4
+
+GITHUB_USER="tmbinc"
+GITHUB_HASH="49b098be9548d174023ad05c10f6af9d02b8e18e"
+MY_P="${GITHUB_USER}-${PN}-${GITHUB_HASH:0:7}"
+
+inherit toolchain-funcs
+
+DESCRIPTION="grep-like tool to search for binary strings"
+HOMEPAGE="https://github.com/tmbinc/bgrep/"
+SRC_URI="https://github.com/${GITHUB_USER}/${PN}/tarball/${GITHUB_HASH} -> ${MY_P}.tar.gz"
+
+S="${WORKDIR}/${MY_P}"
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+IUSE="test"
+
+RDEPEND=""
+DEPEND="test? ( dev-lang/perl )"
+
+src_prepare() {
+ sed -i -e "s|/tmp/|${T}/|g" \
+ test/bgrep-test.sh || die
+}
+
+src_compile() {
+ tc-export CC
+ emake || die
+}
+
+src_test() {
+ cd test
+ ./bgrep-test.sh || die
+}
+
+src_install() {
+ dobin bgrep
+ dodoc README
+}
diff --git a/app-misc/bgrep/metadata.xml b/app-misc/bgrep/metadata.xml
new file mode 100644
index 000000000000..2d083ce3bc66
--- /dev/null
+++ b/app-misc/bgrep/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>flameeyes@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>