wok diff motion/receipt @ rev 25732

Up liblzma (5.6.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 21 17:39:11 2024 +0000 (3 months ago)
parents 7c04901ef470
children
line diff
     1.1 --- a/motion/receipt	Sun Apr 10 07:17:22 2022 +0100
     1.2 +++ b/motion/receipt	Wed Aug 21 17:39:11 2024 +0000
     1.3 @@ -11,10 +11,12 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="https://github.com/Motion-Project/$PACKAGE/archive/release-$VERSION.tar.gz"
     1.6  
     1.7 -DEPENDS="ffmpeg jpeg libmicrohttpd libpthread-stubs libv4l"
     1.8 +DEPENDS="ffmpeg jpeg libatomic libmicrohttpd libpthread-stubs libv4l"
     1.9  BUILD_DEPENDS="automake ffmpeg-dev jpeg-dev libatomic libmicrohttpd-dev
    1.10  	libpthread-stubs libtool libv4l-dev"
    1.11  
    1.12 +CONFIG_FILES="/etc/motion/motion.conf"
    1.13 +
    1.14  current_version()
    1.15  {
    1.16  	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.17 @@ -32,8 +34,7 @@
    1.18  	./configure				\
    1.19  		CFLAGS="$CFLAGS -lvpx"		\
    1.20  		LDFLAGS="$LDFLAGS -latomic"	\
    1.21 -		--disable-nls			\
    1.22 -		--sysconfdir=/etc/motion &&
    1.23 +		--sysconfdir=/etc &&
    1.24  	make &&
    1.25  	make install
    1.26  }
    1.27 @@ -44,9 +45,7 @@
    1.28  	mkdir -p $fs/etc/motion
    1.29  	mkdir -p $fs/usr
    1.30  
    1.31 -	cp -a $install/usr/bin		$fs/usr
    1.32 -	cp -a $stuff/motion.conf	$fs/etc/motion
    1.33 -	cp -a $stuff/init.d		$fs/etc
    1.34 -
    1.35 -	chmod 0644			$fs/etc/motion/*
    1.36 +	cp -a $install/usr/bin			$fs/usr
    1.37 +	cp -a $stuff/motion-$VERSION.conf	$fs/etc/motion/motion.conf
    1.38 +	cp -a $stuff/init.d			$fs/etc
    1.39  }