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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Dec 23 18:16:45 2014 UTC (2 years, 9 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +5 -2 lines
Add USE=ssl to control newly-added SSL support.

(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.4 2014/12/01 19:19:54 mgorny Exp $
4
5 EAPI=5
6
7 #if LIVE
8 AUTOTOOLS_AUTORECONF=yes
9 EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
10
11 inherit git-r3
12 #endif
13
14 inherit autotools-utils
15
16 DESCRIPTION="Pretty small HTTP server - a command-line tool to share files"
17 HOMEPAGE="https://bitbucket.org/mgorny/pshs/"
18 SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
19
20 LICENSE="BSD"
21 SLOT="0"
22 KEYWORDS="~amd64 ~x86"
23 IUSE="+magic +netlink qrcode ssl upnp"
24
25 RDEPEND=">=dev-libs/libevent-2:0=
26 magic? ( sys-apps/file:0= )
27 qrcode? ( media-gfx/qrencode:0= )
28 ssl? ( >=dev-libs/libevent-2.1:0=[ssl]
29 dev-libs/openssl:0= )
30 upnp? ( net-libs/miniupnpc:0= )"
31 DEPEND="${RDEPEND}
32 netlink? ( sys-apps/iproute2
33 >=sys-kernel/linux-headers-2.6.27 )"
34 # libnetlink is static only ATM
35
36 #if LIVE
37 KEYWORDS=
38 SRC_URI=
39 #endif
40
41 src_configure() {
42 myeconfargs=(
43 $(use_enable magic libmagic)
44 $(use_enable netlink)
45 $(use_enable qrcode qrencode)
46 $(use_enable ssl)
47 $(use_enable upnp)
48 )
49
50 autotools-utils_src_configure
51 }

  ViewVC Help
Powered by ViewVC 1.1.20