summaryrefslogtreecommitdiffstats
path: root/abs/core/jack-audio-connection-kit/PKGBUILD
blob: b9f0ed877ead36352a44e9ee6c07fb69960e7258 (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
28
29
30
# $Id: PKGBUILD 9246 2008-08-17 05:38:58Z allan $
# Maintainer: tobias <tobias@archlinux.net>
# Contributor: Robert Emil Berge <robert@rebi.no>

pkgname=jack-audio-connection-kit
pkgver=0.109.2
pkgrel=2
pkgdesc="a low-latency audio server"
arch=(i686 x86_64)
license=(GPL2 LGPL2)
depends=('libsndfile' 'bash' 'readline' 'flac>=1.1.4')
makedepends=('doxygen')
install=jack-audio-connection-kit.install
url="http://jackit.sourceforge.net/"
backup=(etc/conf.d/jack-audio-connection-kit)
options=('!libtool')
source=(http://dl.sourceforge.net/sourceforge/jackit/${pkgname}-${pkgver}.tar.gz \
        ${pkgname}.rc.d ${pkgname}.conf.d)
md5sums=('4d8f795a6c566b9753a86038367e7e32' '4dcba5381e45bd449def164927854e48' \
         '0517b67ef912e2a84b6a15dea2dc2680')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr --enable-optimization-by-compiler \
    --enable-mmx --enable-timestamps --enable-posix-shm --libdir=/usr/lib
  make || return 1
  make DESTDIR=${startdir}/pkg install
  install -D -m 755 ../${pkgname}.rc.d ${startdir}/pkg/etc/rc.d/${pkgname}
  install -D -m 644 ../${pkgname}.conf.d ${startdir}/pkg/etc/conf.d/${pkgname}
}