blob: bac6d6998907e4c18cbd413e7665473c0a63f0b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=bmd-tools
pkgver=1.0
pkgrel=0
pkgdesc="Tools for Blackmagic USB video encoders"
url="https://github.com/fabled/bmd-tools"
arch="all"
license="GPLv2"
depends=""
makedepends="libusb-dev"
install=""
subpackages=""
source="bmd-tools-$pkgver.tar.gz::https://github.com/fabled/bmd-tools/archive/v$pkgver.tar.gz
bmd-streamer.initd
bmd-streamer.confd
"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
make
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/bin
install -s -m755 bmd-streamer bmd-extractfw \
"$pkgdir"/usr/bin
install -m755 -D "$srcdir"/bmd-streamer.initd \
"$pkgdir"/etc/init.d/bmd-streamer
install -m755 -D "$srcdir"/bmd-streamer.confd \
"$pkgdir"/etc/conf.d/bmd-streamer
}
sha512sums="c5335905e8864b63f45793c4d12b6b6f27f608d7dd39d36514951c2cc16a16211b10a8683566d204c2e7bbb8a561bd3b6879e77c8cc128fe2b344cbe0ea8cb46 bmd-tools-1.0.tar.gz
158bb596d25be53bfcc9a4c2e678b61304c522124f64812ed7c1168a6b39735f15579999acb2853ee710ba59593ad7a57c970d21dba467096a8d0505af6f4c66 bmd-streamer.initd
e3760e4b9148d9f8467db519ff8ee2a161be1556a56bef9383a3e34a20c5960fff835a68d3e4f4a31b771e861d95f6fc4537fcb53675ac5f89d76b6ad49f8cea bmd-streamer.confd"
|