diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-09-17 23:25:01 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-09-17 23:25:01 +0000 |
commit | c53d75f220fde4965a20a3f99427e04182217f81 (patch) | |
tree | cd4058a87ff7b16c24a4cc61f6b0b96b7530ad6c /net-misc/quickshare/quickshare-1.0.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-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/quickshare-1.0.ebuild')
-rw-r--r-- | net-misc/quickshare/quickshare-1.0.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
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 +} |