wok-6.x view motion/receipt @ rev 24968

gnutls: disabled GOST support
author Hans-G?nter Theisgen
date Tue Apr 26 13:11:21 2022 +0100 (2022-04-26)
parents 5ea0ce1cecc0
children 67fca9298007
line source
1 # SliTaz package receipt.
3 PACKAGE="motion"
4 VERSION="4.4.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Monitors the video signal from cameras."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://motion-project.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Motion-Project/$PACKAGE/archive/release-$VERSION.tar.gz"
14 DEPENDS="ffmpeg jpeg libmicrohttpd libpthread-stubs libv4l"
15 BUILD_DEPENDS="automake ffmpeg-dev jpeg-dev libatomic libmicrohttpd-dev
16 libpthread-stubs libtool libv4l-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/release-\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # sed -i 's@<linux/videodev.h>@<libv4l1.h>\n#include <linux/videodev2.h>@' \
28 # src/*.c \
29 # src/*.h
31 autoreconf -fiv &&
32 ./configure \
33 CFLAGS="$CFLAGS -lvpx" \
34 LDFLAGS="$LDFLAGS -latomic" \
35 --disable-nls \
36 --sysconfdir=/etc/motion &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/etc/motion
45 mkdir -p $fs/usr
47 cp -a $install/usr/bin $fs/usr
48 cp -a $stuff/motion.conf $fs/etc/motion
49 cp -a $stuff/init.d $fs/etc
51 chmod 0644 $fs/etc/motion/*
52 }