summaryrefslogtreecommitdiff
path: root/repo/libavc1394/libavc1394.xibuild
blob: a86b076eced76498ff37142b023851f687978f2c (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
#!/bin/sh

NAME="libavc1394"
DESC="Audio/Video Control library for IEEE-1394 devices"

MAKEDEPS="libraw1394 libtool automake autoconf argp-standalone"

PKG_VER=0.5.4
SOURCE="https://downloads.sourceforge.net/libavc1394/libavc1394-$PKG_VER.tar.gz"

ADDITIONAL="
argp.patch
automake.patch
"

prepare() {
	apply_patches
	autoreconf -fi
}

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$PKG_DEST" install
}