summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-16 14:32:51 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-16 14:32:51 -0300
commitaf9452bb4ea3e65505fa3be93a52c08e1b7634ab (patch)
tree8038f999f2d10ed90a7fbd4e80514121bb452c39 /libre
parent0de6a1b81bb4d78c27e8abb3e575a744e1c073c1 (diff)
downloadabslibre-af9452bb4ea3e65505fa3be93a52c08e1b7634ab.tar.gz
abslibre-af9452bb4ea3e65505fa3be93a52c08e1b7634ab.tar.bz2
abslibre-af9452bb4ea3e65505fa3be93a52c08e1b7634ab.zip
alsa-lib-static: add new package to [libre]
Diffstat (limited to 'libre')
-rw-r--r--libre/alsa-lib-static/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/libre/alsa-lib-static/PKGBUILD b/libre/alsa-lib-static/PKGBUILD
new file mode 100644
index 000000000..3a73fcb05
--- /dev/null
+++ b/libre/alsa-lib-static/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+# based of alsa-lib
+
+_pkgname=alsa-lib
+pkgname=alsa-lib-static
+pkgver=1.1.1
+pkgrel=1
+pkgdesc="An alternative implementation of Linux sound support (static libraries only)"
+arch=('i686' 'x86_64' 'armv7h')
+url="http://www.alsa-project.org"
+depends=('alsa-lib')
+makedepends=('python2')
+license=('GPL')
+options=('staticlibs')
+source=(ftp://ftp.alsa-project.org/pub/lib/$_pkgname-$pkgver.tar.bz2)
+sha1sums=('09f7e9b2d88287e04a4bb0d56e0cbc9018e524ec')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ ./configure --prefix=/usr --with-pythonlibs="-lpthread -lm -ldl -lpython2.7" --with-pythonincludes=-I/usr/include/python2.7 --enable-static --disable-shared
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ # remove conflicting files
+ rm -vr ${pkgdir}/usr/{bin,include,lib/{alsa-lib,pkgconfig},share}
+}