Commit 24be1951 authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

main/libcdio: new apkbuild

(cherry picked from commit 9ba235eae5f51306c95780f79baba59061c202d9)
parent 1df00119
# Contributor: Carlo Landmeter
# Maintainer:
pkgname=libcdio
pkgver=0.82
pkgrel=0
pkgdesc="GNU Compact Disc Input and Control Library"
url="http://www.gnu.org/software/libcdio/"
license="GPL3"
depends=
makedepends="libcddb-dev ncurses-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnu.org/gnu/libcdio/${pkgname}-${pkgver}.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
# apply patches here
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-vcd-info \
--enable-cpp-progs
make || return 1
}
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install
}
md5sums="1c29b18e01ab2b966162bc727bf3c360 libcdio-0.82.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment