/[gentoo-x86]/www-servers/pshs/pshs-0.2.5.ebuild
Gentoo

Contents of /www-servers/pshs/pshs-0.2.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Dec 25 19:03:24 2014 UTC (3 years, 4 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Version bump. Adds SSL/TLS support. Fixes handling of empty files and filenames with special characters.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-servers/pshs/pshs-9999.ebuild,v 1.5 2014/12/23 18:16:45 mgorny Exp $
4
5 EAPI=5
6
7 inherit autotools-utils
8
9 DESCRIPTION="Pretty small HTTP server - a command-line tool to share files"
10 HOMEPAGE="https://bitbucket.org/mgorny/pshs/"
11 SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="+magic +netlink qrcode ssl upnp"
17
18 RDEPEND=">=dev-libs/libevent-2:0=
19 magic? ( sys-apps/file:0= )
20 qrcode? ( media-gfx/qrencode:0= )
21 ssl? ( >=dev-libs/libevent-2.1:0=[ssl]
22 dev-libs/openssl:0= )
23 upnp? ( net-libs/miniupnpc:0= )"
24 DEPEND="${RDEPEND}
25 netlink? ( sys-apps/iproute2
26 >=sys-kernel/linux-headers-2.6.27 )"
27 # libnetlink is static only ATM
28
29 src_configure() {
30 myeconfargs=(
31 $(use_enable magic libmagic)
32 $(use_enable netlink)
33 $(use_enable qrcode qrencode)
34 $(use_enable ssl)
35 $(use_enable upnp)
36 )
37
38 autotools-utils_src_configure
39 }

  ViewVC Help
Powered by ViewVC 1.1.20