aports/testing/libxmp/APKBUILD
2022-02-01 03:07:08 +00:00

37 lines
794 B
Plaintext

# Maintainer: Dominika Liberda <ja@sdomi.pl>
# Contributor: Dominika Liberda <ja@sdomi.pl>
pkgname=libxmp
pkgver=4.5.0
pkgrel=0
pkgdesc="Libxmp is a library that renders module files to PCM data. "
url="https://github.com/libxmp/libxmp/"
arch="all"
license="LGPL-2.1-or-later"
makedepends="autoconf"
source="https://github.com/libxmp/libxmp/archive/refs/tags/libxmp-$pkgver.tar.gz"
subpackages="$pkgname-dev"
builddir="$srcdir/$pkgname-$pkgname-$pkgver/"
prepare() {
default_prepare
autoconf
}
build() {
./configure prefix=/usr
make
}
package() {
make install DESTDIR="$pkgdir" PREFIX=/usr
}
check() {
cd test
make
}
sha512sums="
2dbc5caae67293b1b518bc8b2192208806ca55ade2a654c0be450a694725194066d1d665f781a2f879638f61ae0917bc3f5e4bd69e182d0ca2971801fd66c458 libxmp-4.5.0.tar.gz
"