summaryrefslogblamecommitdiff
path: root/user/libcdio-paranoia/APKBUILD
blob: 4230d8fe0a71b083ba6b6b69da09f47ee67db69f (plain) (tree)
1
2
3
4
5
6
7
8
9

                        


                               



                                           

                                                                
                                       
                                                                  

                                    






                                                                  

         












                                           



                  


                                      
                                                                                                                                                                                  
# Maintainer: 
pkgname=libcdio-paranoia
pkgver=10.2.2.0.0
_pkgver="${pkgver/10.2./10.2+}"
pkgrel=0
pkgdesc="CD paranoia on top of libcdio"
url="https://www.gnu.org/software/libcdio/"
arch="all"
license="GPL-2.0+ AND LGPL-2.0+"
depends_dev="ncurses-dev"
makedepends="$depends_dev 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/' configure.ac
#	autoreconf -i
#}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="0398617f9af63632d74c5a93c4efae1bc69d339fb7ab2e36dbfa6d19c0940f3bf27ea3ed482698d2842838d2034df3e40304774f1648db8c274d441130ef40a2  libcdio-paranoia-10.2+2.0.0.tar.bz2"