vp-build/srcpkgs/libraw1394/template

30 lines
782 B
Bash

# Template file for 'libraw1394'
pkgname=libraw1394
version=2.1.2
revision=1
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=03ccc69761d22c7deb1127fc301010dd13e70e44bb7134b8ff0d07590259a55e
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
}
}