void-packages/srcpkgs/libraw1394/template
2015-07-28 16:50:46 +02:00

32 lines
858 B
Bash

# Template file for 'libraw1394'
pkgname=libraw1394
version=2.1.1
revision=2
build_style=gnu-configure
short_desc="Provides an API to the Linux IEEE1394 (FireWire) driver"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://ieee1394.wiki.kernel.org/index.php/Main_Page"
license="LGPL-2.1"
distfiles="${KERNEL_SITE}/libs/ieee1394/${pkgname}-${version}.tar.xz"
checksum=1bab9780189f9d1eb4e973df12679c04f979c21e024240fc98e536ff5b680ee9
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS="-D__uint32_t=uint32_t"
esac
libraw1394-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}
libraw1394-progs_package() {
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
vmove usr/share
}
}