summaryrefslogblamecommitdiff
path: root/user/libiec61883/APKBUILD
blob: b84e7b3e49c3de7ac3d89c7174e9b0158b2cf2a7 (plain) (tree)










































                                                                                                                                                                       
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libiec61883
pkgver=1.2.0
pkgrel=0
pkgdesc="Library for transmission of media streams over FireWire (1394)"
url="https://ieee1394.wiki.kernel.org/index.php/Libraries#libiec61883"
arch="all"
license="GPL-2.0-only"
depends=""
makedepends="libraw1394-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.kernel.org/pub/linux/libs/ieee1394/libiec61883-$pkgver.tar.gz"

prepare() {
	cd "$builddir"
	default_prepare
	update_config_sub
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="303391dc5d75298039f51bcb9c53061f5ada92210c81dfe860994c05e8e03d6d9d1a662fad780d5766c17a8aade665d996ab3454fc93bc06981a3832e6de4066  libiec61883-1.2.0.tar.gz"