summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-09-17 23:25:01 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-09-17 23:25:01 +0000
commitc53d75f220fde4965a20a3f99427e04182217f81 (patch)
treecd4058a87ff7b16c24a4cc61f6b0b96b7530ad6c /net-misc/quickshare
parentVersion bump. (diff)
downloadgentoo-2-c53d75f220fde4965a20a3f99427e04182217f81.tar.gz
gentoo-2-c53d75f220fde4965a20a3f99427e04182217f81.tar.bz2
gentoo-2-c53d75f220fde4965a20a3f99427e04182217f81.zip
Initial commit by Jeff D. Horelick.
(Portage version: 2.2.0_alpha58/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/quickshare')
-rw-r--r--net-misc/quickshare/ChangeLog9
-rw-r--r--net-misc/quickshare/metadata.xml15
-rw-r--r--net-misc/quickshare/quickshare-1.0.ebuild43
3 files changed, 67 insertions, 0 deletions
diff --git a/net-misc/quickshare/ChangeLog b/net-misc/quickshare/ChangeLog
new file mode 100644
index 000000000000..b1ee65866112
--- /dev/null
+++ b/net-misc/quickshare/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-misc/quickshare
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/quickshare/ChangeLog,v 1.1 2011/09/17 23:25:01 ssuominen Exp $
+
+*quickshare-1.0 (17 Sep 2011)
+
+ 17 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> +quickshare-1.0.ebuild:
+ Initial commit by Jeff D. Horelick.
+
diff --git a/net-misc/quickshare/metadata.xml b/net-misc/quickshare/metadata.xml
new file mode 100644
index 000000000000..df700bf392d8
--- /dev/null
+++ b/net-misc/quickshare/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>ssuominen@gentoo.org</email>
+ <name>Samuli Suominens</name>
+ <description>Proxy maintainer. CC him on bugs.</description>
+ </maintainer>
+ <maintainer>
+ <email>jdhore1@gmail.com</email>
+ <name>Jeff D. Horelick</name>
+ <description>Maintainer. Assign bugs to him.</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-misc/quickshare/quickshare-1.0.ebuild b/net-misc/quickshare/quickshare-1.0.ebuild
new file mode 100644
index 000000000000..d36f4ba1b3a4
--- /dev/null
+++ b/net-misc/quickshare/quickshare-1.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/quickshare/quickshare-1.0.ebuild,v 1.1 2011/09/17 23:25:01 ssuominen Exp $
+
+EAPI=4
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A simple HTTP server with a GUI which allows for easy sharing of files"
+HOMEPAGE="http://houbysoft.com/qs/"
+SRC_URI="http://houbysoft.com/download/${P}-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="net-libs/libmicrohttpd
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${P}-src
+
+src_prepare() {
+ sed -i \
+ -e 's:gcc ${LOPT}:$(CC) $(LDFLAGS):' \
+ -e 's:-o $@:-o $@ ${LOPT}:' \
+ -e 's:gcc:$(CC):' \
+ Makefile || die
+}
+
+src_compile() {
+ tc-export CC
+ emake COPT="${CFLAGS}"
+}
+
+src_install() {
+ dobin qs
+ dodoc README
+ insinto /usr/share/quickshare
+ doins {on,off}.png
+ make_desktop_entry qs QuickShare
+}