blob: 08b53a5f531f4f80ff22ced5f50dbabf02a6790d (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=cdparanoia
pkgver=10.2
pkgrel=3
pkgdesc="An audio CD extraction application"
url="http://www.xiph.org/paranoia"
arch="x86 x86_64"
license="GPL"
depends=
makedepends="libtool autoconf automake"
install=
subpackages="$pkgname-dev"
source="http://downloads.xiph.org/releases/cdparanoia/$pkgname-III-$pkgver.src.tgz"
prepare() {
cd "$srcdir/$pkgname-III-$pkgver"
mv configure.guess config.guess
mv configure.sub config.sub
sed -i -e '/configure.\(guess\|sub\)/d' configure.in || return 1
aclocal && autoconf || return 1
libtoolize || return 1
}
build() {
cd "$srcdir/$pkgname-III-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make -j1 || return 1
}
package() {
cd "$srcdir/$pkgname-III-$pkgver"
install -m755 -D cdparanoia "$pkgdir"/usr/bin/cdparanoia
install -m755 -D interface/libcdda_interface.so.0."$pkgver" \
"$pkgdir"/usr/lib/libcdda_interface.so.0."$pkgver"
install -m755 -D paranoia/libcdda_paranoia.so.0."$pkgver" \
"$pkgdir"/usr/lib/libcdda_paranoia.so.0."$pkgver"
ln -s libcdda_interface.so.0."$pkgver" \
"$pkgdir"/usr/lib/libcdda_interface.so.0
ln -s libcdda_interface.so.0."$pkgver" \
"$pkgdir"/usr/lib/libcdda_interface.so
ln -s libcdda_paranoia.so.0."$pkgver" \
"$pkgdir"/usr/lib/libcdda_paranoia.so.0
ln -s libcdda_paranoia.so.0."$pkgver" \
"$pkgdir"/usr/lib/libcdda_paranoia.so
install -m644 -D interface/cdda_interface.h \
"$pkgdir"/usr/include/cdda_interface.h
install -m644 -D paranoia/cdda_paranoia.h \
"$pkgdir"-dev/usr/include/cdda_paranoia.h
}
md5sums="b304bbe8ab63373924a744eac9ebc652 cdparanoia-III-10.2.src.tgz"
|