aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmikmod/APKBUILD
blob: 6249d006abc9335addde5dafcf55401c4e3e8ca0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"