blob: 1e39075555dd3e3fa1ce1336fc82776d59ba8e54 (
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
32
33
34
35
36
37
38
39
40
|
# Contributor: Carlo Landmeter
# Maintainer:
pkgname=wavpack
pkgver=4.60.1
pkgrel=0
pkgdesc="Audio compression format with lossless, lossy, and hybrid compression modes"
url="http://www.wavpack.com/"
license="custom"
depends=
makedepends=
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.wavpack.com/${pkgname}-${pkgver}.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
# apply patches here
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-mmx \
--disable-static
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} || return 1
install -m644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
}
md5sums="7bb1528f910e4d0003426c02db856063 wavpack-4.60.1.tar.bz2"
|