diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-18 23:53:50 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-18 23:53:50 -0500 |
commit | 26f1924857e71e94672a6dea10ec59f1e7f47a30 (patch) | |
tree | c6d425362a895c08b4b1a8a3e68d50c9feeeb53d /user/libcdio-paranoia | |
parent | 5ca899dea9665001cbe401fbdc0c63364e434019 (diff) | |
download | packages-26f1924857e71e94672a6dea10ec59f1e7f47a30.tar.gz packages-26f1924857e71e94672a6dea10ec59f1e7f47a30.tar.bz2 packages-26f1924857e71e94672a6dea10ec59f1e7f47a30.tar.xz packages-26f1924857e71e94672a6dea10ec59f1e7f47a30.zip |
user/libcdio-paranoia: pull in, fix up
Diffstat (limited to 'user/libcdio-paranoia')
-rw-r--r-- | user/libcdio-paranoia/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/user/libcdio-paranoia/APKBUILD b/user/libcdio-paranoia/APKBUILD new file mode 100644 index 000000000..0647eb088 --- /dev/null +++ b/user/libcdio-paranoia/APKBUILD @@ -0,0 +1,47 @@ +# Maintainer: +pkgname=libcdio-paranoia +pkgver=0.94_p1 +_pkgver="10.2+${pkgver/_p/+}" +pkgrel=1 +pkgdesc="CD paranoia on top of libcdio" +url="https://www.gnu.org/software/libcdio/" +arch="all" +license="GPL-2.0+ AND LGPL-2.0+" +makedepends="libcdio-dev ncurses-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 +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="9b2381491271090bac08594cb1d84de98e9f0a5afc6a2c98e9ffcf4b95addc3adcd0f0b9adeb928dfbf8178356ad6a7ccfeb048685c823d138b2af232f0b4c93 libcdio-paranoia-10.2+0.94+1.tar.gz" |