diff options
Diffstat (limited to 'www-apps/bareos-webui/files/bareos-webui-inode64-22.1.1.ebuild')
-rw-r--r-- | www-apps/bareos-webui/files/bareos-webui-inode64-22.1.1.ebuild | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/www-apps/bareos-webui/files/bareos-webui-inode64-22.1.1.ebuild b/www-apps/bareos-webui/files/bareos-webui-inode64-22.1.1.ebuild deleted file mode 100644 index 810e63c..0000000 --- a/www-apps/bareos-webui/files/bareos-webui-inode64-22.1.1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_WARN_UNUSED_CLI=no - -inherit cmake webapp - -MY_PV=${PV/_/-} -MY_PN="bareos" -MY_P="${MY_PN}-${MY_PV}" - -DESCRIPTION="Featureful client/server network backup suite" -HOMEPAGE="https://www.bareos.com/" -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/Release/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" -RESTRICT="mirror" - -LICENSE="AGPL-3" -KEYWORDS="~amd64 ~x86" - -IUSE="" -DEPEND="" -RDEPEND="${DEPEND} - dev-lang/php[bzip2,ctype,curl,fileinfo,filter,gd,iconv,intl,mhash,nls,pdo,postgres,session,simplexml,ssl,xml,xmlreader,xmlwriter,zip] - virtual/httpd-php -" -need_httpd_cgi - -S=${WORKDIR}/${MY_PN}-Release-${PV}/webui - -pkg_setup() { - webapp_pkg_setup -} - -src_prepare() { - # fix missing VERSION - sed -i "s/@BAREOS_FULL_VERSION@/${PV}/g" version.php.in || die - - cmake_src_prepare -} - -src_install() { - webapp_src_preinst - - # remove tests - rm -rf "${D}/tests" 2>/dev/null || die - - dodoc README.md - webapp_server_configfile nginx "${S}/install/nginx/bareos-webui.conf" bareos-webui.include - webapp_server_configfile apache "${S}/install/apache/bareos-webui.conf" bareos-webui.conf - - insinto "${MY_HTDOCSDIR}" - pushd "${BUILD_DIR}" >/dev/null || die - DESTDIR="${D}/${MY_HTDOCSDIR}" ${CMAKE_MAKEFILE_GENERATOR} install "$@" || die "died running ${CMAKE_MAKEFILE_GENERATOR} install" - popd >/dev/null || die - - mv "${D}/${MY_HTDOCSDIR}"/usr/share/bareos-webui/* "${D}/${MY_HTDOCSDIR}"/ - rmdir "${D}/${MY_HTDOCSDIR}"/usr/share/bareos-webui - - find "${D}/${MY_HTDOCSDIR}" -type f -name '*.in' -delete - find "${D}/${MY_HTDOCSDIR}" -type f -name '*.map' -delete - - mv "${D}/${MY_HTDOCSDIR}/etc" "${D}/etc" - rm -rf "${D}/etc/httpd" - - webapp_src_install -} |