aboutsummaryrefslogtreecommitdiffstats
path: root/testing/shntool
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-07 22:07:21 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-07 22:07:21 +0200
commit7bb68bffd143a591c00d38759e2da7991e40b8ab (patch)
tree22cac5201026dff20febf75b30438ab32c638dda /testing/shntool
parentb9c541a9e6a06512d6c2ae15e6d59c28f4a4b619 (diff)
downloadaports-7bb68bffd143a591c00d38759e2da7991e40b8ab.tar.bz2
aports-7bb68bffd143a591c00d38759e2da7991e40b8ab.tar.xz
testing/shntool: new aport
Diffstat (limited to 'testing/shntool')
-rw-r--r--testing/shntool/APKBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/testing/shntool/APKBUILD b/testing/shntool/APKBUILD
new file mode 100644
index 0000000000..0d5879c251
--- /dev/null
+++ b/testing/shntool/APKBUILD
@@ -0,0 +1,51 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=shntool
+pkgver=3.0.10
+pkgrel=0
+pkgdesc="A multi-purpose WAVE data processing and reporting utility"
+url="http://www.etree.org/shnutils/shntool/"
+arch="all"
+license="GPL"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://www.etree.org/shnutils/shntool/dist/src/shntool-$pkgver.tar.gz"
+
+_builddir="$srcdir"/shntool-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ update_config_sub || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="5d41f8f42c3c15e3145a7a43539c3eae shntool-3.0.10.tar.gz"
+sha256sums="74302eac477ca08fb2b42b9f154cc870593aec8beab308676e4373a5e4ca2102 shntool-3.0.10.tar.gz"
+sha512sums="2150d7123860abb54a56a1615bda991ed3713d73c338723f28b7d01a63c49a47809be16dc57b5b4edeee1567b003f9a4b54945c1cd08440f9503d22b91eaa06d shntool-3.0.10.tar.gz"