summaryrefslogtreecommitdiff
path: root/repo/libmikmod/libmikmod.xibuild
blob: f2032e33a3f98cd23a0a30b89e63b10b2a24bd12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

NAME="libmikmod"
DESC="module playing library"

MAKEDEPS="alsa-lib"

PKG_VER=3.3.11.1
SOURCE="https://downloads.sourceforge.net/mikmod/libmikmod-$PKG_VER.tar.gz"

build() {
	# build fails with bash
	export CONFIG_SHELL="/bin/sh"
	./configure \
		--prefix=/usr \
		--enable-alsa
	make
}

package() {
	make DESTDIR="$PKG_DEST" install
}