wok-stable diff motion/receipt @ rev 12460

fix symlinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 09:09:24 2017 +0200 (2017-04-28)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/motion/receipt	Fri Apr 28 09:09:24 2017 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="motion"
     1.7 +VERSION="3.2.12"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Motion is a program that monitors the video signal from cameras."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="libpthread-stubs jpeg ffmpeg"
    1.12 +BUILD_DEPENDS="$DEPENDS jpeg-dev ffmpeg-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.lavrsen.dk/foswiki/bin/view/Motion"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--sysconfdir=/etc/motion &&
    1.23 +	make && make install
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr
    1.30 +	cp -a $_pkg/etc $fs
    1.31 +	cp -a $_pkg/usr/bin $fs/usr
    1.32 +	chmod 0644 $fs/etc/motion/*
    1.33 +}