aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-02 00:55:31 +0300
committerCem Keylan <cem@ckyln.com>2020-09-02 00:55:31 +0300
commit9488ae000c80fa0194a93e84b479837bba8f3750 (patch)
tree1e234466ac6fbc65b56ea83ede784234400882ef /extra
parent004087f356ca47d6081109019ed8e315eff5fa2c (diff)
downloadrepository-9488ae000c80fa0194a93e84b479837bba8f3750.tar.gz
pax: add new package at 20190825
Diffstat (limited to 'extra')
-rwxr-xr-xextra/pax/build18
-rw-r--r--extra/pax/checksums1
-rw-r--r--extra/pax/depends1
-rw-r--r--extra/pax/sources1
-rw-r--r--extra/pax/version1
5 files changed, 22 insertions, 0 deletions
diff --git a/extra/pax/build b/extra/pax/build
new file mode 100755
index 00000000..7abd26f0
--- /dev/null
+++ b/extra/pax/build
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+sed -i '1i#include <sys/types.h>' pax.h
+
+TARGET_OS=Linux \
+CC="${CC:-cc}" \
+CFLAGS="$CFLAGS -DGNU_SOURCE" \
+LDFLAGS="$LDFLAGS -static" \
+LIBS=-lfts \
+ sh ./Build.sh -r
+
+install -Dm755 pax "$1/usr/bin/pax"
+ln -sf pax "$1/usr/bin/paxtar"
+ln -sf pax "$1/usr/bin/paxcpio"
+
+install -Dm644 pax.1 "$1/usr/share/man/man1/pax.1"
+install -Dm644 tar.1 "$1/usr/share/man/man1/paxtar.1"
+install -Dm644 cpio.1 "$1/usr/share/man/man1/paxcpio.1"
diff --git a/extra/pax/checksums b/extra/pax/checksums
new file mode 100644
index 00000000..cd6ec405
--- /dev/null
+++ b/extra/pax/checksums
@@ -0,0 +1 @@
+4ea08a493eec5a588535f130b9a2699f3e3a1cd70fff77e9baab6abb98a4891f pax-20190825.tar.xz
diff --git a/extra/pax/depends b/extra/pax/depends
new file mode 100644
index 00000000..d12656d1
--- /dev/null
+++ b/extra/pax/depends
@@ -0,0 +1 @@
+musl-fts make
diff --git a/extra/pax/sources b/extra/pax/sources
new file mode 100644
index 00000000..8e08437d
--- /dev/null
+++ b/extra/pax/sources
@@ -0,0 +1 @@
+https://dl.carbslinux.org/distfiles/pax-20190825.tar.xz
diff --git a/extra/pax/version b/extra/pax/version
new file mode 100644
index 00000000..1998c076
--- /dev/null
+++ b/extra/pax/version
@@ -0,0 +1 @@
+20190825 1