mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
main/libcddb: modernise, fix license, broken tests
This commit is contained in:
parent
e2bbdf65e0
commit
dbda201ce2
@ -2,40 +2,39 @@
|
|||||||
# Maintainer:
|
# Maintainer:
|
||||||
pkgname=libcddb
|
pkgname=libcddb
|
||||||
pkgver=1.3.2
|
pkgver=1.3.2
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="Library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (e.g. http://freedb.org)."
|
pkgdesc="Library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (e.g. http://freedb.org)."
|
||||||
url="https://sourceforge.net/projects/libcddb/"
|
url="https://sourceforge.net/projects/libcddb/"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="GPL"
|
options="!check" # Tests are known broken since 2009:
|
||||||
|
# https://sourceforge.net/p/libcddb/bugs/7/
|
||||||
|
license="LGPL-2.0+"
|
||||||
depends=
|
depends=
|
||||||
makedepends=
|
makedepends=
|
||||||
install=
|
install=
|
||||||
subpackages="$pkgname-dev"
|
subpackages="$pkgname-dev"
|
||||||
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
|
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
|
||||||
|
|
||||||
_builddir="$srcdir"/$pkgname-$pkgver
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
update_config_sub || return 1
|
update_config_sub
|
||||||
# apply patches here
|
default_prepare
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
./configure \
|
./configure \
|
||||||
--build=$CBUILD \
|
--build=$CBUILD \
|
||||||
--host=$CHOST \
|
--host=$CHOST \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--infodir=/usr/share/info \
|
--infodir=/usr/share/info
|
||||||
|| return 1
|
make
|
||||||
make || return 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user