blob: b3fa3fdb4888f6e66faf272e7a315fa295f6616c (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=bmd-tools
pkgver=0.20150313
_commitid=1e3ddd8eb57811c38ef9d391e420dfd73dfc246f
pkgrel=1
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/$_commitid.tar.gz
bmd-streamer.initd
bmd-streamer.confd
"
_srcdir="$srcdir"/$pkgname-$_commitid
prepare() {
local i
cd "$_srcdir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_srcdir"
make
}
package() {
cd "$_srcdir"
mkdir -p "$pkgdir"/usr/bin || return 1
install -s -m755 bmd-streamer bmd-extractfw \
"$pkgdir"/usr/bin || return 1
install -m755 -D "$srcdir"/bmd-streamer.initd \
"$pkgdir"/etc/init.d/bmd-streamer || return 1
install -m755 -D "$srcdir"/bmd-streamer.confd \
"$pkgdir"/etc/conf.d/bmd-streamer || return 1
}
md5sums="19fb794f463e53f04c826b2284559ffd bmd-tools-0.20150313.tar.gz
0e3d2cc8a71e3afad685a101e0a5a1f2 bmd-streamer.initd
c2e6e9081f9938a10279f28cc1a21aae bmd-streamer.confd"
sha256sums="20c61b7b785f8544ee1678d9885759a8bc9ba7e5aea7416f7f0d8465ba42201d bmd-tools-0.20150313.tar.gz
456408203274292c742333687d3d32aa0219378b436d2c21412a7528175e3df3 bmd-streamer.initd
64d5d9a2698c059eb72ac9c37fc84f971cbbb937f298f05807509bb51a51d991 bmd-streamer.confd"
sha512sums="852c0ecf90fe101f367a8b7756a7fb2e7748452210fd18b8542aaecad9b75f91054fd6f966329a41cd4935ce7bdfb318851f6f38990f7a881cfe1e199c8913cc bmd-tools-0.20150313.tar.gz
158bb596d25be53bfcc9a4c2e678b61304c522124f64812ed7c1168a6b39735f15579999acb2853ee710ba59593ad7a57c970d21dba467096a8d0505af6f4c66 bmd-streamer.initd
e3760e4b9148d9f8467db519ff8ee2a161be1556a56bef9383a3e34a20c5960fff835a68d3e4f4a31b771e861d95f6fc4537fcb53675ac5f89d76b6ad49f8cea bmd-streamer.confd"
|