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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Nov 16 21:55:56 2011 UTC (2 years, 5 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Version bump. The new version introduces fixes to --no-upnp option, index page and sendfile() support. It also adds support for getting local IP via netlink and partial (Range) requests.

(Portage version: 2.2.0_alpha74_p4/cvs/Linux x86_64)

1 mgorny 1.1 # Copyright 1999-2011 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     EAPI=4
6     inherit autotools-utils
7    
8     DESCRIPTION="Pretty small HTTP server - a command-line tool to share files"
9     HOMEPAGE="https://github.com/mgorny/pshs/"
10     SRC_URI="mirror://github/mgorny/${PN}/${P}.tar.bz2"
11    
12     LICENSE="BSD"
13     SLOT="0"
14     KEYWORDS="~amd64 ~x86"
15     IUSE="+magic +netlink upnp"
16    
17     RDEPEND=">=dev-libs/libevent-2
18     magic? ( sys-apps/file )
19     upnp? ( net-libs/miniupnpc )"
20     DEPEND="${RDEPEND}
21     netlink? ( sys-apps/iproute2
22     >=sys-kernel/linux-headers-2.6.27 )"
23     # libnetlink is static only ATM
24    
25     src_configure() {
26     myeconfargs=(
27     $(use_enable magic libmagic)
28     $(use_enable netlink)
29     $(use_enable upnp)
30     )
31    
32     autotools-utils_src_configure
33     }

  ViewVC Help
Powered by ViewVC 1.1.20