summaryrefslogtreecommitdiff
path: root/manualPorts/sox
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-08-04 21:44:32 +0200
committerErich Eckner <git@eckner.net>2021-08-04 21:44:32 +0200
commitaaa0413132b4d6607aa78cf53e93712d9d08e82b (patch)
treeae84d189ee92c27cf43399e0e49c3d6a1730acc5 /manualPorts/sox
parent2e548639cc71e96c076b615f3c6547517b2b647c (diff)
downloadcrux-ports-aaa0413132b4d6607aa78cf53e93712d9d08e82b.tar.xz
Revert "sox removed - exists upstream"
This reverts commit eb0be7544bf60dc58aff238278aa094c1f2b15d1.
Diffstat (limited to 'manualPorts/sox')
-rw-r--r--manualPorts/sox/.footprint27
-rw-r--r--manualPorts/sox/.md5sum1
-rw-r--r--manualPorts/sox/.signature5
-rw-r--r--manualPorts/sox/Pkgfile22
-rwxr-xr-xmanualPorts/sox/lastVersion.sh8
5 files changed, 63 insertions, 0 deletions
diff --git a/manualPorts/sox/.footprint b/manualPorts/sox/.footprint
new file mode 100644
index 0000000..482182c
--- /dev/null
+++ b/manualPorts/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/manualPorts/sox/.md5sum b/manualPorts/sox/.md5sum
new file mode 100644
index 0000000..e0f344f
--- /dev/null
+++ b/manualPorts/sox/.md5sum
@@ -0,0 +1 @@
+ba804bb1ce5c71dd484a102a5b27d0dd sox-14.4.2.tar.bz2
diff --git a/manualPorts/sox/.signature b/manualPorts/sox/.signature
new file mode 100644
index 0000000..e6e0b3d
--- /dev/null
+++ b/manualPorts/sox/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/deepthought.pub
+RWQxCptPusLGGuu1cVKvQXxubEY6CAifx2MVZL3yhN8sk/xuZ0PCiLsDDiezN+/yVp0xBO9mUwp15griV4Q8Neh4XbgAEyMCyg8=
+SHA256 (Pkgfile) = 4ef6277eff7ea20fcaaad4f3524fc561b6ada235ac5fe5f0266f006a8c3a06cc
+SHA256 (.footprint) = 1590bcfcc2ffa6f67dfdeea547c1594473c9bd4dface43b3d91c2af5259f4dde
+SHA256 (sox-14.4.2.tar.bz2) = 81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c
diff --git a/manualPorts/sox/Pkgfile b/manualPorts/sox/Pkgfile
new file mode 100644
index 0000000..2533f82
--- /dev/null
+++ b/manualPorts/sox/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Audio processing on the console, aka "SOund eXchange"
+# URL: http://sox.sourceforge.net/
+# Maintainer: Erich Eckner, crux at eckner dot net
+# Depends on: libmad
+
+name=sox
+version=14.4.2
+release=2
+source=(http://sourceforge.net/projects/$name/files/$name/$version/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --with-lame \
+ --with-mad
+
+ make
+ make DESTDIR=$PKG install
+}
diff --git a/manualPorts/sox/lastVersion.sh b/manualPorts/sox/lastVersion.sh
new file mode 100755
index 0000000..6109135
--- /dev/null
+++ b/manualPorts/sox/lastVersion.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+curl "https://sourceforge.net/projects/sox/files/sox/" 2> /dev/null | \
+ tr "\"" "\n" | \
+ grep "^/projects/sox/files/sox/.*/\$" | \
+ sed "s|^/projects/sox/files/sox/\(.*\)/\$|\1|" | \
+ sort -V | \
+ tail -n1