From a304d1a75db87cf90ae615cbf7a1d877c1e63634 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 18 Oct 2011 13:40:20 -0400 Subject: [PATCH] dev-util/shflags: import from upstream Gentoo Nothing uses this directly yet. We'll be migrating packages from dev-libs/shflags in future CLs. BUG=chromium-os:21742 TEST=`emerge dev-util/shflags` works even when dev-libs/shflags is installed Change-Id: I5177f90c4bfcf339c44aa64d1b2ceabe7676d750 Reviewed-on: http://gerrit.chromium.org/gerrit/10230 Commit-Ready: Mike Frysinger Tested-by: Mike Frysinger Reviewed-by: David James --- .../dev-util/shflags/shflags-1.0.3.ebuild | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/shflags/shflags-1.0.3.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-util/shflags/shflags-1.0.3.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/shflags/shflags-1.0.3.ebuild new file mode 100644 index 0000000000..b25d2f5aef --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/shflags/shflags-1.0.3.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/shflags/shflags-1.0.3.ebuild,v 1.1 2011/10/15 17:40:57 vapier Exp $ + +EAPI="4" + +DESCRIPTION="Command-line flags module for Unix shell scripts" +HOMEPAGE="http://code.google.com/p/shflags/" +SRC_URI="http://shflags.googlecode.com/files/${P}.tgz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 arm x86" +IUSE="examples" + +src_test() { + cd src + ./shflags_test.sh || die +} + +src_install() { + dohtml README.html + dodoc README.txt doc/*.txt + insinto /usr/share/misc + doins src/shflags + use examples && dodoc examples/*.sh +}