2012-11-21 11:12:43 -06:00
|
|
|
# Description: CDDA extraction tool with jitter correction
|
2020-06-17 19:38:34 -05:00
|
|
|
# URL: https://xiph.org/paranoia/
|
2013-02-01 19:09:37 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2012-11-21 11:12:43 -06:00
|
|
|
# Depends on: cdparanoia
|
|
|
|
|
|
|
|
name=cdparanoia-32
|
|
|
|
version=10.2
|
2021-12-21 20:13:03 +11:00
|
|
|
release=3
|
2019-04-14 21:25:40 +10:00
|
|
|
source=(https://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-$version.src.tgz
|
2021-12-21 20:13:03 +11:00
|
|
|
cdparanoia-10.2-463009.patch
|
|
|
|
cdparanoia-10.2-endian.patch
|
|
|
|
cdparanoia-10.2-install.patch
|
|
|
|
cdparanoia-10.2-format-security.patch
|
|
|
|
cdparanoia-use-proper-gnu-config-files.patch
|
|
|
|
cdparanoia-10.2-ldflags.patch
|
|
|
|
cdparanoia-10.2-add-pkgconfig.patch)
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd cdparanoia-III-$version
|
2021-12-21 20:13:03 +11:00
|
|
|
patch -p3 -i $SRC/cdparanoia-10.2-463009.patch
|
|
|
|
patch -p1 -i $SRC/cdparanoia-10.2-endian.patch
|
|
|
|
patch -p1 -i $SRC/cdparanoia-10.2-install.patch
|
|
|
|
patch -p1 -i $SRC/cdparanoia-10.2-format-security.patch
|
|
|
|
patch -p1 -i $SRC/cdparanoia-use-proper-gnu-config-files.patch
|
|
|
|
patch -p1 -i $SRC/cdparanoia-10.2-ldflags.patch
|
|
|
|
patch -p1 -i $SRC/cdparanoia-10.2-add-pkgconfig.patch
|
|
|
|
autoreconf -ifv
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2021-12-21 20:13:03 +11:00
|
|
|
--libdir=/usr/lib32 \
|
2012-11-21 11:12:43 -06:00
|
|
|
--host=i686-pc-linux-gnu
|
|
|
|
|
2021-12-21 20:13:03 +11:00
|
|
|
make -j1
|
|
|
|
make DESTDIR=$PKG install
|
2012-11-21 11:12:43 -06:00
|
|
|
|
2021-12-21 20:13:03 +11:00
|
|
|
rm -r $PKG/usr/{bin,include,share}
|
2012-11-21 11:12:43 -06:00
|
|
|
}
|