diff options
-rwxr-xr-x | extra/pax/build | 18 | ||||
-rw-r--r-- | extra/pax/checksums | 1 | ||||
-rw-r--r-- | extra/pax/depends | 1 | ||||
-rw-r--r-- | extra/pax/sources | 1 | ||||
-rw-r--r-- | extra/pax/version | 1 |
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 |