summaryrefslogtreecommitdiff
path: root/repo/soundtouch/soundtouch.xibuild
blob: a64c789f8c9730c4cb7ca8b5a3846a941635d554 (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
31
#!/bin/sh

NAME="soundtouch"
DESC="Audio Processing library for changing Tempo, Pitch and Playback Rates"

MAKEDEPS="autoconf automake libtool"

PKG_VER=2.3.1
SOURCE="https://codeberg.org/soundtouch/soundtouch/archive/$PKG_VER.tar.gz"

prepare() {
	./bootstrap
}

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

package() {
	make DESTDIR="$PKG_DEST" install
	rm -rf "$PKG_DEST"/usr/doc
}