public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/mgorny:master commit in: www-servers/pshs/
Date: Wed,  9 Nov 2011 18:46:32 +0000 (UTC)	[thread overview]
Message-ID: <e7e721bddf69b3643f99a8a60ae378471b5646d9.mgorny@gentoo> (raw)

commit:     e7e721bddf69b3643f99a8a60ae378471b5646d9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  9 18:46:35 2011 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov  9 18:46:35 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=e7e721bd

www-servers/pshs: Add an ebuild for pretty small HTTP server.

(Portage version: 2.2.0_alpha72_p29/git/Linux x86_64, unsigned Manifest commit)

---
 www-servers/pshs/metadata.xml     |   19 ++++++++++++++++
 www-servers/pshs/pshs-9999.ebuild |   43 +++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+), 0 deletions(-)

diff --git a/www-servers/pshs/metadata.xml b/www-servers/pshs/metadata.xml
new file mode 100644
index 0000000..f2a0bce
--- /dev/null
+++ b/www-servers/pshs/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer>
+		<email>mgorny@gentoo.org</email>
+		<name>Michał Górny</name>
+	</maintainer>
+	<use>
+		<flag name='magic'>Enable automatic detection of Content-Type
+			using libmagic (<pkg>sys-apps/file</pkg>)</flag>
+	</use>
+	<upstream>
+		<maintainer status="active">
+			<email>mgorny@gentoo.org</email>
+			<name>Michał Górny</name>
+		</maintainer>
+		<bugs-to>http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20Linux&amp;component=Applications&amp;short_desc=www-servers/pshs:%20</bugs-to>
+	</upstream>
+</pkgmetadata>

diff --git a/www-servers/pshs/pshs-9999.ebuild b/www-servers/pshs/pshs-9999.ebuild
new file mode 100644
index 0000000..4544b65
--- /dev/null
+++ b/www-servers/pshs/pshs-9999.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit autotools-utils
+
+#if LIVE
+EGIT_REPO_URI="git://github.com/mgorny/${PN}.git
+	http://github.com/mgorny/${PN}.git"
+inherit autotools git-2
+#endif
+
+DESCRIPTION="Pretty small HTTP server - a command-line tool to share files"
+HOMEPAGE="https://github.com/mgorny/pshs/"
+SRC_URI="mirror://github/mgorny/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+magic"
+
+RDEPEND=">=dev-libs/libevent-2
+	magic? ( sys-apps/file )"
+DEPEND="${RDEPEND}"
+
+#if LIVE
+KEYWORDS=
+SRC_URI=
+
+src_prepare() {
+	autotools-utils_src_prepare
+	eautoreconf
+}
+#endif
+
+src_configure() {
+	myeconfargs=(
+		$(use_enable magic libmagic)
+	)
+
+	autotools-utils_src_configure
+}



             reply	other threads:[~2011-11-09 18:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09 18:46 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-09 21:44 [gentoo-commits] dev/mgorny:master commit in: www-servers/pshs/ Michał Górny
2011-11-15 15:15 Michał Górny
2012-07-08  8:17 Michał Górny
2012-12-14 15:28 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e7e721bddf69b3643f99a8a60ae378471b5646d9.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox