Initial import
This commit is contained in:
40
www-apps/lychee/lychee-3.2.14.ebuild
Normal file
40
www-apps/lychee/lychee-3.2.14.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit webapp
|
||||
|
||||
DESCRIPTION="A free photo-management tool"
|
||||
HOMEPAGE="https://lycheeorg.github.io/"
|
||||
SRC_URI="https://github.com/LycheeOrg/Lychee/archive/v${PV}.tar.gz -> ${PF}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/Lychee-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=dev-lang/php-7.1[session,exif,gd,mysqli,json,unicode,zip]"
|
||||
BDEPEND=""
|
||||
|
||||
need_httpd_cgi
|
||||
|
||||
src_compile() {
|
||||
true;
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r .
|
||||
|
||||
webapp_serverowned -R "${MY_HTDOCSDIR}"/data
|
||||
webapp_serverowned -R "${MY_HTDOCSDIR}"/dist
|
||||
webapp_serverowned -R "${MY_HTDOCSDIR}"/uploads
|
||||
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user