void-packages/srcpkgs/libraw1394/template

31 lines
783 B
Bash

# Template file for 'libraw1394'
pkgname=libraw1394
version=2.1.0
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=0b3126d8158d156de9da2ff4d861c47857acc4318a7ac260258015a22071964f
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
}
}