blob: 2fede641239586419d6c88fbbdb0cc5f3e128b44 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libcdio-paranoia
pkgver=0.94_p1
_pkgver="10.2+${pkgver/_p/+}"
pkgrel=0
pkgdesc="CD paranoia on top of libcdio"
url="https://www.gnu.org/software/libcdio/"
arch="all"
license="GPL-2.0-or-later and LGPL-2.0-or-later"
makedepends="libcdio-dev autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnu.org/gnu/libcdio/$pkgname-$_pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver"
prepare() {
default_prepare
cd "$builddir"
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
autoreconf -i
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-static
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="9b2381491271090bac08594cb1d84de98e9f0a5afc6a2c98e9ffcf4b95addc3adcd0f0b9adeb928dfbf8178356ad6a7ccfeb048685c823d138b2af232f0b4c93 libcdio-paranoia-10.2+0.94+1.tar.gz"
|