wok-next view zoneminder/receipt @ rev 13452
Add: claws-mail-pdfviewer
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Oct 07 01:30:26 2012 +0200 (2012-10-07) |
parents | |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="zoneminder"
4 VERSION="1.25.0"
5 SOURCE="ZoneMinder"
6 CATEGORY="misc"
7 SHORT_DESC="Linux video camera security and surveillance solution."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 WEB_SITE="http://www.zoneminder.com/"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WGET_URL="http://www2.zoneminder.com/downloads/$TARBALL"
13 DEPENDS="mysql jpeg bzlib zlib ffmpeg-svn x264 perl perl-dbi-dbd \
14 perl-dbd-mysql perl-time-hires perl-getopt-long perl-date-manip perl-libwww \
15 perl-archive-zip"
16 BUILD_DEPENDS="mysql-dev jpeg-dev ffmpeg-svn-dev gnutls-dev \
17 linux-api-headers $DEPENDS"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 sed -i 's/.*fcntl.h.*/#include <limits.h>\n&/' src/zm_event.cpp \
24 src/zm_local_camera.cpp
25 CXXFLAGS=-D__STDC_CONSTANT_MACROS \
26 ./configure --prefix=/usr --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --sysconfdir=/etc \
29 --with-libarch=lib \
30 --with-mysql=/usr --with-ffmpeg=/usr \
31 --with-webuser=www --with-webgroup=www \
32 --with-webdir=/usr/share/zoneminder/www \
33 --with-cgidir=/usr/share/zoneminder/cgi-bin \
34 --enable-mmap=no \
35 $CONFIGURE_ARGS &&
36 make &&
37 make -j 1 DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $_pkg/* $stuff/* $fs
44 cp $src/db/zm_create.sql $fs/usr/share/zoneminder
45 chown -R root.root $fs/usr/share/zoneminder/zm_create.sql \
46 $fs/usr/lib/perl* $fs/etc/*.d/zoneminder
47 }