mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 05:11:05 +02:00
davtest: let's keep it for a bit longer, issue #169
This commit is contained in:
parent
6b89ddc115
commit
8e2090ac45
1 changed files with 36 additions and 0 deletions
36
net-analyzer/davtest/davtest-1.0.ebuild
Normal file
36
net-analyzer/davtest/davtest-1.0.ebuild
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit git-r3 multilib
|
||||
|
||||
DESCRIPTION="tests WebDAV enabled servers"
|
||||
HOMEPAGE="https://github.com/cldrn/davtest"
|
||||
EGIT_REPO_URI="https://github.com/cldrn/davtest.git"
|
||||
EGIT_COMMIT="f8e53a6e27fefec728b7b4fce8c95946298d64a8"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="virtual/perl-Getopt-Long
|
||||
dev-perl/HTTP-DAV"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/${PN}/
|
||||
doins -r .
|
||||
dodoc README.txt
|
||||
|
||||
dodir /usr/bin
|
||||
cat <<-EOF > "${ED}"/usr/bin/${PN}
|
||||
#!/bin/sh
|
||||
cd /usr/$(get_libdir)/${PN}
|
||||
exec ./${PN}.pl "\$@"
|
||||
EOF
|
||||
fperms +x /usr/bin/${PN} /usr/$(get_libdir)/${PN}/${PN}.pl
|
||||
|
||||
}
|
||||
Loading…
Reference in a new issue