summaryrefslogtreecommitdiffstats
path: root/v4l-utils/Pkgfile
blob: f91d97d6d49e6a6cd58aac45f836c41cfe14e5f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: Librairie pour video 4 linux
# URL: http://freshmeat.net/projects/libv4l
# Maintainer: NuTyX core team
# Packager: lesibel at free dot fr
# Depends on: sysfsutils
# Run on: sysfsutils

name=v4l-utils
version=0.8.8
release=1
source=(http://linuxtv.org/downloads/v4l-utils/$name-$version.tar.bz2
	http://linuxtv.org/downloads/v4l-utils/$name-$version.tar.bz2.asc)

build() {
	cd $name-$version
	sed -i 's|CFLAGS :=|CFLAGS ?=|' Make.rules
	make LIBDIR="/usr/lib"
	make install PREFIX="/usr" DESTDIR=$PKG/
	rm -f $PKG/usr/bin/ivtv-ctl
  	mv $PKG/lib/udev $PKG/usr/lib/
  	rm -rf $PKG/lib
}