wok-current annotate zoneminder/receipt @ rev 15250

gst-python: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 23 18:02:04 2013 +0000 (2013-09-23)
parents 2b0f10522770
children 002d4bf6c905
rev   line source
pascal@13247 1 # SliTaz package receipt.
pascal@13247 2
pascal@13247 3 PACKAGE="zoneminder"
pascal@13247 4 VERSION="1.25.0"
pascal@13247 5 SOURCE="ZoneMinder"
pascal@13247 6 CATEGORY="misc"
pascal@13247 7 SHORT_DESC="Linux video camera security and surveillance solution."
pascal@13247 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
pascal@13247 10 WEB_SITE="http://www.zoneminder.com/"
pascal@13247 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@13247 12 WGET_URL="http://www2.zoneminder.com/downloads/$TARBALL"
pascal@13247 13
pascal@13247 14 DEPENDS="mysql jpeg bzlib zlib ffmpeg-svn x264 perl perl-dbi-dbd \
pascal@13247 15 perl-dbd-mysql perl-time-hires perl-getopt-long perl-date-manip perl-libwww \
pascal@13247 16 perl-archive-zip"
pascal@13247 17 BUILD_DEPENDS="mysql-dev jpeg-dev ffmpeg-svn-dev gnutls-dev \
pascal@13247 18 linux-api-headers $DEPENDS"
pascal@13247 19
pascal@13247 20 # Rules to configure and make the package.
pascal@13247 21 compile_rules()
pascal@13247 22 {
pascal@13247 23 cd $src
pascal@13247 24 sed -i 's/.*fcntl.h.*/#include <limits.h>\n&/' src/zm_event.cpp \
pascal@13247 25 src/zm_local_camera.cpp
pascal@13247 26 CXXFLAGS=-D__STDC_CONSTANT_MACROS \
pascal@13247 27 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@13247 28 --mandir=/usr/share/man \
pascal@13247 29 --sysconfdir=/etc \
pascal@13247 30 --with-libarch=lib \
pascal@13247 31 --with-mysql=/usr --with-ffmpeg=/usr \
pascal@13247 32 --with-webuser=www --with-webgroup=www \
pascal@13247 33 --with-webdir=/usr/share/zoneminder/www \
pascal@13247 34 --with-cgidir=/usr/share/zoneminder/cgi-bin \
pascal@13247 35 --enable-mmap=no \
pascal@13247 36 $CONFIGURE_ARGS &&
pascal@13247 37 make &&
pascal@13247 38 make -j 1 DESTDIR=$DESTDIR install
pascal@13247 39 }
pascal@13247 40
pascal@13247 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13247 42 genpkg_rules()
pascal@13247 43 {
pascal@15000 44 cp -a $install/* $stuff/* $fs
pascal@13247 45 cp $src/db/zm_create.sql $fs/usr/share/zoneminder
pascal@13247 46 chown -R root.root $fs/usr/share/zoneminder/zm_create.sql \
pascal@13247 47 $fs/usr/lib/perl* $fs/etc/*.d/zoneminder
pascal@13247 48 }