summaryrefslogtreecommitdiffstats
path: root/extra/alsa-lib/Pkgfile
blob: 606dbcfedad45cadf0426bf97e19a7b0200d5c70 (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
# Description: Librairies pour ALSA (Architecture de sons avancée pour Linux)
# URL: http://www.alsa-project.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: python
# Run on:

name=alsa-lib
version=1.0.23
release=1
source=(ftp://ftp.alsa-project.org/pub/lib/$name-$version.tar.bz2)

build() {
	unset MAKEFLAGS
	cd $name-$version
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
                --enable-static \
		--with-pythonlibs="-lpthread -lm -ldl -lpython2.7" --with-pythonincludes=-I/usr/include/python2.7
	make
	make DESTDIR=$PKG install
}