wok view kino/receipt @ rev 15606

gpxe: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 19:58:32 2013 +0000 (2013-12-06)
parents a086b32bc95d
children 533c0cab6960
line source
1 # SliTaz package receipt.
3 PACKAGE="kino"
4 VERSION="1.3.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="Non linear Video editor."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SUGGESTED="lame vorbis-tools mjpegtools dvdauthor"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.kinodv.org/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="video editor"
15 DEPENDS="gtk+ libglade libdv libraw1394 libavc1394 libsamplerate alsa-lib \
16 libiec61883 xorg-libXv linux-firewire xorg-libXdamage ffmpeg"
17 BUILD_DEPENDS="intltool libdv perl xorg-dev xorg-dev-proto gtk+-dev libglade-dev \
18 libdv-dev libraw1394-dev libavc1394-dev libsamplerate-dev xorg-libXv-dev \
19 libiec61883-dev libxml2-dev bash libpng-dev freetype-dev fontconfig-dev \
20 libiec61883 ffmpeg-dev xorg-libXv libsamplerate util-linux-uuid-dev \
21 alsa-lib xorg-libXext libv4l-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 sed -i 's|linux/videodev.h|libv4l1-videodev.h|' \
28 ffmpeg/libavdevice/v4l.c src/v4l.h
29 ./configure \
30 --prefix=/usr \
31 --mandir=/usr/share/man \
32 --sysconfdir=/etc \
33 --disable-local-ffmpeg \
34 --enable-shared \
35 --with-libdv-only \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
45 cp -a $stuff/applications/*desktop $fs/usr/share/applications
46 cp -a $install/etc $fs
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib $fs/usr
49 rm $fs/usr/lib/kino-gtk2/*.*a
50 cp -a $install/usr/share/kino $fs/usr/share
51 cp -a $install/usr/share/mime $fs/usr/share
53 # Remove Help files
54 rm -rf $fs/usr/share/kino/help
55 }