summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-01-24 10:51:12 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2021-01-24 11:25:58 +0000
commit48a860c593646de231b330753a92520542d4b32e (patch)
treecc595b57bcc621c8305d81632494ca86314cfc62 /app-arch
parentapp-arch/pax: add slyfox@ to maintainers (diff)
downloadgentoo-48a860c593646de231b330753a92520542d4b32e.tar.gz
gentoo-48a860c593646de231b330753a92520542d4b32e.tar.bz2
gentoo-48a860c593646de231b330753a92520542d4b32e.zip
app-arch/pax: bump up to 20201030
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/pax/Manifest1
-rw-r--r--app-arch/pax/pax-20201030.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/app-arch/pax/Manifest b/app-arch/pax/Manifest
index a31ca15a60ed..c723128b3c82 100644
--- a/app-arch/pax/Manifest
+++ b/app-arch/pax/Manifest
@@ -1 +1,2 @@
DIST paxmirabilis-20161104.cpio.gz 148061 BLAKE2B 997a126d3048488e1a4e49ff9753de2ebdbe75b7daedbea8c95ab5f1902d4768d4b12b13fa684cb2a7c2fe8470ab60e19ea3f9430429a6a4e6e1d57993130fd4 SHA512 42ec8365a5efb9ffb9d383cece39ffaac85c1c8d69856ec557a5567cf0d28d98a0f2d4b7fed53572366eba12c71111cc80b591d51c6a19a3e6437efb62af33ce
+DIST paxmirabilis-20201030.cpio.gz 171982 BLAKE2B cdda22bf73ff60cda7b8873ed278d1d9d7daab170084ca17760dacffc88b8edd29a0498155f860019b22641d9c84186074c5e696c67846e1997f5883267761b0 SHA512 14c913db49c05b92f3448b7ae2e11b4fdb86c2daa5f269d86e044e8779eec7ea19b41534fbd8ebfe31cffe6b50e51c0460c3994307ba2cfa07029602604882de
diff --git a/app-arch/pax/pax-20201030.ebuild b/app-arch/pax/pax-20201030.ebuild
new file mode 100644
index 000000000000..b497a976a1f4
--- /dev/null
+++ b/app-arch/pax/pax-20201030.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit unpacker toolchain-funcs flag-o-matic
+
+DESCRIPTION="pax (Portable Archive eXchange) is the POSIX standard archive tool"
+HOMEPAGE="https://www.mirbsd.org/pax.htm"
+SRC_URI="https://www.mirbsd.org/MirOS/dist/mir/cpio/paxmirabilis-${PV}.cpio.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+RDEPEND="elibc_musl? ( sys-libs/fts-standalone )"
+DEPEND="${RDEPEND}"
+BDEPEND="$(unpacker_src_uri_depends)"
+
+S=${WORKDIR}/${PN}
+
+src_configure() {
+ use elibc_musl && append-libs -lfts
+
+ tc-export CC
+ tc-getPROG SIZE size
+}
+
+src_compile() {
+ set -- sh ./Build.sh
+ echo "$@"
+ "$@"
+}
+
+src_install() {
+ dobin pax
+ doman pax.1
+
+ dosym pax /usr/bin/paxcpio
+ newman cpio.1 paxcpio.1
+
+ dosym pax /usr/bin/paxtar
+ newman tar.1 paxtar.1
+}