void-packages/srcpkgs/libavc1394/template

32 lines
860 B
Bash

# Template file for 'libavc1394'
pkgname=libavc1394
version=0.5.4
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libraw1394-devel"
short_desc="A library to control A/V devices using the 1394ta AV/C commands"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="LGPL-2"
homepage="http://sourceforge.net/projects/libavc1394/"
distfiles="${SOURCEFORGE_SITE}/libavc1394/${pkgname}-${version}.tar.gz"
checksum=7cb1ff09506ae911ca9860bef4af08c2403f3e131f6c913a2cbd6ddca4215b53
case "$XBPS_TARGET_MACHINE" in
*-musl) # Requires argp functions
makedepends+=" argp-standalone"
LDFLAGS="-largp"
;;
esac
libavc1394-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}