diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-02-26 22:34:59 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-26 23:33:40 -0300 |
commit | cb310bb2466059286a926afa40f575d7e7d6d379 (patch) | |
tree | 2267c2c2a02481439a66578e50b5a5c778a929d8 /community/libcdio-paranoia | |
parent | 2ec8e30c7e8d56966b0f94f0e90319528fe26c3a (diff) | |
download | aports-cb310bb2466059286a926afa40f575d7e7d6d379.tar.bz2 aports-cb310bb2466059286a926afa40f575d7e7d6d379.tar.xz |
community/libcdio-paranoia: move from main
Diffstat (limited to 'community/libcdio-paranoia')
-rw-r--r-- | community/libcdio-paranoia/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/community/libcdio-paranoia/APKBUILD b/community/libcdio-paranoia/APKBUILD new file mode 100644 index 0000000000..0e92007dfc --- /dev/null +++ b/community/libcdio-paranoia/APKBUILD @@ -0,0 +1,47 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libcdio-paranoia +pkgver=2.0.0 +_pkgver="10.2+${pkgver/_p/+}" +pkgrel=2 +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="https://ftp.gnu.org/gnu/libcdio/$pkgname-$_pkgver.tar.bz2" +builddir="$srcdir/$pkgname-$_pkgver" + +prepare() { + default_prepare + + cd "$builddir" + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/;s/$1+$2/$2/' 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="0398617f9af63632d74c5a93c4efae1bc69d339fb7ab2e36dbfa6d19c0940f3bf27ea3ed482698d2842838d2034df3e40304774f1648db8c274d441130ef40a2 libcdio-paranoia-10.2+2.0.0.tar.bz2" |