blob: 741e1e73571688c17001ec0bc2fec0d466a6c176 (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=cdrdao
pkgver=1.2.3
pkgrel=0
pkgdesc="Records audio/data CD-Rs in disk-at-once (DAO) mode"
url="http://cdrdao.sourceforge.net/"
arch="all"
license="GPL"
depends=""
depends_dev="libmad-dev lame-dev libvorbis-dev libao-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://freefr.dl.sourceforge.net/project/cdrdao/cdrdao/$pkgver/cdrdao-$pkgver.tar.bz2
cdrdao-1.2.3-stat.patch"
_builddir="$srcdir"/cdrdao-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--with-xdao \
--with-lame \
--with-ogg-support \
--with-mp3-support \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="8d15ba6280bb7ba2f4d6be31d28b3c0c cdrdao-1.2.3.tar.bz2
0fce05542ebad283f36fa1c4d62992a0 cdrdao-1.2.3-stat.patch"
sha256sums="8193cb8fa6998ac362c55807e89ad0b3c63edc6b01afaeb3d5042519527fb75e cdrdao-1.2.3.tar.bz2
ca89b7c56a376d5a9574c5757f0d372236a895334f81867ff5e1703806565bbc cdrdao-1.2.3-stat.patch"
sha512sums="36b14180acf476de062f5f31e2b9dece39e3cc7a84552e80a6714931fa35d6090ec90ddfcdbd2651d690be8ce3fc78d483aa13856c3c311bcc2f571f0040adf6 cdrdao-1.2.3.tar.bz2
83d6a76f9b6c3e3e1522fe1fb64e50296f42c51d6f0b505d68adc3b7a85460d667ecf3f0998ba2ea5444dd5cd398e81f591ef9ca3bb4b5b167ce6e59234a5094 cdrdao-1.2.3-stat.patch"
|