added app-portage/remerge

This commit is contained in:
Florian Schroegendorfer 2021-12-13 21:21:44 +01:00
parent b116463c0e
commit b8b681be3e
Signed by: root
GPG Key ID: 17625E28D4D6E339
3 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>florian.schroegendorfer@phlo.at</email>
<name>Florian Schrögendorfer</name>
</maintainer>
<longdescription lang="en">
A quick and dirty binary package host implementation.
</longdescription>
<use>
<flag name="client">Install as client</flag>
<flag name="server">Install as server</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,48 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3
DESCRIPTION="A quick and dirty binary package host implementation"
HOMEPAGE="https://github.com/phlo/remerge"
EGIT_REPO_URI="https://github.com/phlo/remerge.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="+client server"
REQUIRED_USE="^^ ( client server )"
RDEPEND="
app-arch/tar
app-arch/xz-utils
net-misc/openssh
sys-apps/portage
client? (
app-misc/resolve-march-native
net-misc/rsync
)
server? (
app-misc/screen
)
"
src_install() {
# binaries
use client && dobin src/client/remerge*
use server && dobin src/server/remerge*
# config files
insinto /etc/remerge
use client && doins src/client/client.conf
use server && doins src/server/server.conf
# libraries
insinto /usr/lib/remerge
doins src/common.sh
use client && doins src/client/client.sh
use server && doins src/server/server.sh
}

View File

@ -3,6 +3,7 @@
<pkgmetadata>
<maintainer type="person">
<email>florian.schroegendorfer@phlo.at</email>
<name>Florian Schrögendorfer</name>
</maintainer>
<longdescription lang="en">
Automatically generate C++ man pages from cppreference.com