aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/libmikmod/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/libmikmod/APKBUILD b/community/libmikmod/APKBUILD
new file mode 100644
index 0000000000..6249d006ab
--- /dev/null
+++ b/community/libmikmod/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor:
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libmikmod
+pkgver=3.3.11.1
+pkgrel=1
+pkgdesc="module playing library"
+url="http://mikmod.shlomifish.org"
+arch="all"
+license="LGPL-2.0-or-later AND LGPL-2.1-or-later"
+makedepends="alsa-lib-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://downloads.sourceforge.net/mikmod/libmikmod-$pkgver.tar.gz"
+
+build() {
+ # build fails with bash
+ export CONFIG_SHELL="/bin/sh"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-alsa
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="f2439e2b691613847cd0787dd4e050116683ce7b05c215b8afecde5c6add819ea6c18e678e258c0a80786bef463f406072de15127f64368f694287a5e8e1a9de libmikmod-3.3.11.1.tar.gz"