summaryrefslogtreecommitdiff
path: root/repo/libmodplug/libmodplug.xibuild
blob: 3a8c060f1f7011434afec0063c19a3ffb9605770 (plain)
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
#!/bin/sh

NAME="libmodplug"
DESC="A MOD playing library"

MAKEDEPS="musl"

PKG_VER=0.8.9.0
SOURCE="https://downloads.sourceforge.net/modplug-xmms/libmodplug-$PKG_VER.tar.gz"

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-static
	make
}

package() {
	make DESTDIR="$PKG_DEST" install
	install -D -m644 COPYING $PKG_DEST/usr/share/licenses/libmodplug/LICENSE
}