2015-05-13 21:09:49 +02:00
|
|
|
# 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.eu>"
|
|
|
|
license="LGPL-2"
|
|
|
|
homepage="http://sourceforge.net/projects/libavc1394/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/libavc1394/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=7cb1ff09506ae911ca9860bef4af08c2403f3e131f6c913a2cbd6ddca4215b53
|
|
|
|
|
2016-10-03 18:26:22 +02:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
*-musl) # Requires argp functions
|
|
|
|
makedepends+=" argp-standalone"
|
|
|
|
LDFLAGS="-largp"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2015-05-13 21:09:49 +02:00
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|