diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-05 10:04:13 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-05 10:04:13 +0000 |
commit | 06bc4fe15354bca25c8f0a0795bc6b3b469dff2a (patch) | |
tree | c2f4aedac39d23e3809c40834fa858a936b5e01d /testing/dssi | |
parent | bd6894d8a49cc6ac491c25635655e7c6e47290ac (diff) | |
download | aports-06bc4fe15354bca25c8f0a0795bc6b3b469dff2a.tar.bz2 aports-06bc4fe15354bca25c8f0a0795bc6b3b469dff2a.tar.xz |
testing/dssi: new aport
Disposable Soft Synth Interface
http://dssi.sourceforge.net/
Diffstat (limited to 'testing/dssi')
-rw-r--r-- | testing/dssi/APKBUILD | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/testing/dssi/APKBUILD b/testing/dssi/APKBUILD new file mode 100644 index 0000000000..20ab9e044c --- /dev/null +++ b/testing/dssi/APKBUILD @@ -0,0 +1,57 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=dssi +pkgver=1.1.1 +pkgrel=0 +pkgdesc="Disposable Soft Synth Interface" +url="http://dssi.sourceforge.net/" +arch="all" +license="MIT" +depends="" +depends_dev="alsa-lib-dev ladspa-dev" +makedepends="$depends_dev jack-dev libsamplerate-dev libsndfile-dev liblo-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-examples" +source="http://download.sf.net/sourceforge/dssi/dssi-$pkgver.tar.gz" + +_builddir="$srcdir"/dssi-$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" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 + + # sanity check + make -C tests controller && tests/controller +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la \ + "$pkgdir"/usr/lib/dssi/*.la +} + +examples() { + pkgdesc="DSSI plugin examples" + mkdir -p "$subpkgdir"/usr/lib/dssi/ + mv "$pkgdir"/usr/lib/dssi/less_trivial* \ + "$pkgdir"/usr/lib/dssi/trivial_* \ + "$pkgdir"/usr/lib/dssi/karplong* \ + "$subpkgdir"/usr/lib/dssi/ +} +md5sums="619ab73c883b02dc37ddb37001591f8b dssi-1.1.1.tar.gz" |