[crux-commits] ports/contrib (3.6): sox: new port: Sound eXchange, the Swiss Army knife of audio manipulation

crux at crux.nu crux at crux.nu
Mon Apr 12 22:09:20 UTC 2021


commit 974fcc3add7a7faf63fe3fbcfc0262bbb53138c3
Author: Steffen Nurpmeso <steffen at sdaoden.eu>
Date:   Tue Apr 13 00:07:53 2021 +0200

    sox: new port: Sound eXchange, the Swiss Army knife of audio manipulation

diff --git a/sox/.footprint b/sox/.footprint
new file mode 100644
index 000000000..482182c51
--- /dev/null
+++ b/sox/.footprint
@@ -0,0 +1,27 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+lrwxrwxrwx	root/root	usr/bin/play -> sox
+lrwxrwxrwx	root/root	usr/bin/rec -> sox
+-rwxr-xr-x	root/root	usr/bin/sox
+lrwxrwxrwx	root/root	usr/bin/soxi -> sox
+drwxr-xr-x	root/root	usr/include/
+-rw-r--r--	root/root	usr/include/sox.h
+drwxr-xr-x	root/root	usr/lib/
+-rw-r--r--	root/root	usr/lib/libsox.a
+-rwxr-xr-x	root/root	usr/lib/libsox.la
+lrwxrwxrwx	root/root	usr/lib/libsox.so -> libsox.so.3.0.0
+lrwxrwxrwx	root/root	usr/lib/libsox.so.3 -> libsox.so.3.0.0
+-rwxr-xr-x	root/root	usr/lib/libsox.so.3.0.0
+drwxr-xr-x	root/root	usr/lib/pkgconfig/
+-rw-r--r--	root/root	usr/lib/pkgconfig/sox.pc
+drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/man/
+drwxr-xr-x	root/root	usr/share/man/man1/
+lrwxrwxrwx	root/root	usr/share/man/man1/play.1.gz -> sox.1.gz
+lrwxrwxrwx	root/root	usr/share/man/man1/rec.1.gz -> sox.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/sox.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/soxi.1.gz
+drwxr-xr-x	root/root	usr/share/man/man3/
+-rw-r--r--	root/root	usr/share/man/man3/libsox.3.gz
+drwxr-xr-x	root/root	usr/share/man/man7/
+-rw-r--r--	root/root	usr/share/man/man7/soxformat.7.gz
diff --git a/sox/.signature b/sox/.signature
new file mode 100644
index 000000000..3c5e0889c
--- /dev/null
+++ b/sox/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF36eGLlOwvI5HiMfWonc8CstywViK1kGJfAVtw2inES5DOeiPbmLx6EdBmSb5qfbSO4OK25KnbNorMXZFsieXqgI=
+SHA256 (Pkgfile) = 5e1cd90fa84ed21c5fb2c5afc352fa456f8fc25f726de990bad021786d695486
+SHA256 (.footprint) = 1590bcfcc2ffa6f67dfdeea547c1594473c9bd4dface43b3d91c2af5259f4dde
+SHA256 (sox-code-7524160b29a476f7e87bc14fddf12d349f9a3c5e.zip) = 9fe92b885ef1f2104142950726edf08d0439eea6a1243b3282e4919d63c8307c
diff --git a/sox/Pkgfile b/sox/Pkgfile
new file mode 100644
index 000000000..893f7fa3e
--- /dev/null
+++ b/sox/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Sound eXchange, the Swiss Army knife of audio manipulation
+# URL:         http://sox.sourceforge.net/
+# Maintainer:  Steffen Nurpmeso, steffen at sdaoden dot eu
+
+name=sox
+version=20210412
+release=1
+xtarget=sox-code-7524160b29a476f7e87bc14fddf12d349f9a3c5e
+source=(https://sourceforge.net/code-snapshots/git/s/so/${name}/code.git/\
+${xtarget}.zip)
+
+build() {
+   cd "${xtarget}"
+
+   sed -i'' -e /^AX_APPEND/d configure.ac
+   autoreconf -vis
+
+   ./configure --prefix=/usr --disable-openmp
+
+   make
+   make DESTDIR="${PKG}" install
+}
+
+# s-sh-mode


More information about the crux-commits mailing list