|
Lines 2-8
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-9999.ebuild,v 1.2 2011/09/21 08:55:59 mgorny Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-9999.ebuild,v 1.2 2011/09/21 08:55:59 mgorny Exp $ |
| 4 |
|
4 |
|
| 5 |
EAPI="3" |
5 |
EAPI="4" |
| 6 |
|
6 |
|
| 7 |
[[ ${PV} = *9999* ]] && VCS_ECLASS="git-2" || VCS_ECLASS="" |
7 |
[[ ${PV} = *9999* ]] && VCS_ECLASS="git-2" || VCS_ECLASS="" |
| 8 |
inherit autotools ${VCS_ECLASS} |
8 |
inherit autotools ${VCS_ECLASS} |
|
Lines 15-27
Link Here
|
| 15 |
IUSE="" |
15 |
IUSE="" |
| 16 |
|
16 |
|
| 17 |
if [[ ${PV} == *9999* ]]; then |
17 |
if [[ ${PV} == *9999* ]]; then |
| 18 |
EGIT_REPO_URI="git://github.com/gnosek/${PN}.git |
18 |
EGIT_REPO_URI="git://github.com/gnosek/${PN}.git" |
| 19 |
https://github.com/gnosek/${PN}.git" |
|
|
| 20 |
|
19 |
|
| 21 |
KEYWORDS="" |
20 |
KEYWORDS="" |
| 22 |
else |
21 |
else |
| 23 |
MY_REV="2e301c8" |
22 |
MY_REV="58ec209" |
| 24 |
SRC_URI="http://download.github.com/gnosek-${PN}-v${PV}-1-g${MY_REV}.tar.gz -> ${P}.tar.gz" |
23 |
#SRC_URI="http://download.github.com/gnosek-${P}-4-g${MY_REV}.tar.gz" |
|
|
24 |
SRC_URI="mirror://gentoo/gnosek-${P}-4-g${MY_REV}.tar.gz -> ${P}.tar.gz" |
| 25 |
S="${WORKDIR}/gnosek-${PN}-${MY_REV}" |
25 |
S="${WORKDIR}/gnosek-${PN}-${MY_REV}" |
| 26 |
|
26 |
|
| 27 |
KEYWORDS="~amd64 ~x86" |
27 |
KEYWORDS="~amd64 ~x86" |
|
Lines 30-35
Link Here
|
| 30 |
DEPEND="dev-libs/fcgi" |
30 |
DEPEND="dev-libs/fcgi" |
| 31 |
RDEPEND="${DEPEND}" |
31 |
RDEPEND="${DEPEND}" |
| 32 |
|
32 |
|
|
|
33 |
DOCS=( README.rst ) |
| 34 |
|
| 33 |
src_prepare() { |
35 |
src_prepare() { |
| 34 |
sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \ |
36 |
sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \ |
| 35 |
-i Makefile.in || die "sed failed" |
37 |
-i Makefile.in || die "sed failed" |
|
Lines 37-48
Link Here
|
| 37 |
eautoreconf |
39 |
eautoreconf |
| 38 |
} |
40 |
} |
| 39 |
|
41 |
|
| 40 |
src_install() { |
|
|
| 41 |
einstall DESTDIR="${D}" |
| 42 |
|
| 43 |
dodoc README.rst |
| 44 |
} |
| 45 |
|
| 46 |
pkg_postinst() { |
42 |
pkg_postinst() { |
| 47 |
einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.' |
43 |
einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.' |
| 48 |
} |
44 |
} |