summaryrefslogtreecommitdiffstats
path: root/libmikmod/Pkgfile
blob: 16906f1e0ae45cf1dbca07752ed2e533166ffee3 (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
26
27
# Description: Capable de lire des modules MOD, S3M, XM, IT, MED, MTM et 669
# URL: http://mikmod.raphnet.net/
# Maintainer: NuTyX
# Packager: thierryn1 at hispeed dot ch

name=libmikmod
version=3.2.0
release=1
source=(http://mikmod.shlomifish.org/files/$name-$version.tar.gz)

build() {
	cd $name-$version
#	sed -i -e "s/VERSION=10/VERSION=11/" \
#		-e "s/sys_asoundlib/alsa_asoundlib/" \
#		-e "s/snd_cards/snd_card_load/g" \
#		-e "s|sys/asoundlib.h|alsa/asoundlib.h|g" \
#		-e "s/^LIBOBJS/#LIBOBJS/" \
#		configure.in
#	autoconf
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
	make DESTDIR=$PKG install
	chmod 755 $PKG/usr/lib/lib*.so*
	rm $PKG/usr/share/info/dir
}