wok-current annotate motion/receipt @ rev 12378
Up: laptop-mode-tools to 1.60.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 22:23:48 2012 +0000 (2012-04-19) |
parents | |
children | 3c13a1e665f2 |
rev | line source |
---|---|
pascal@11224 | 1 # SliTaz package receipt. |
pascal@11224 | 2 |
pascal@11224 | 3 PACKAGE="motion" |
pascal@11224 | 4 VERSION="3.2.12" |
pascal@11224 | 5 CATEGORY="multimedia" |
pascal@11224 | 6 SHORT_DESC="Motion is a program that monitors the video signal from cameras." |
pascal@11224 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@11224 | 8 DEPENDS="libpthread-stubs jpeg ffmpeg" |
pascal@11224 | 9 BUILD_DEPENDS="$DEPENDS jpeg-dev ffmpeg-dev" |
pascal@11224 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11224 | 11 WEB_SITE="http://www.lavrsen.dk/foswiki/bin/view/Motion" |
pascal@11224 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11224 | 13 |
pascal@11224 | 14 # Rules to configure and make the package. |
pascal@11224 | 15 compile_rules() |
pascal@11224 | 16 { |
pascal@11224 | 17 cd $src |
pascal@11224 | 18 ./configure \ |
pascal@11224 | 19 --sysconfdir=/etc/motion && |
pascal@11224 | 20 make && make install |
pascal@11224 | 21 } |
pascal@11224 | 22 |
pascal@11224 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11224 | 24 genpkg_rules() |
pascal@11224 | 25 { |
pascal@11224 | 26 mkdir -p $fs/usr |
pascal@11224 | 27 cp -a $_pkg/etc $fs |
pascal@11224 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@11224 | 29 chmod 0644 $fs/etc/motion/* |
pascal@11224 | 30 } |