wok-next view zoneminder/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 82b613cfd1e0 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="zoneminder"
4 VERSION="1.25.0"
5 CATEGORY="misc"
6 SHORT_DESC="Linux video camera security and surveillance solution"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.zoneminder.com/"
11 TARBALL="ZoneMinder-$VERSION.tar.gz"
12 WGET_URL="http://www2.zoneminder.com/downloads/$TARBALL"
14 BUILD_DEPENDS="mysql-dev jpeg-dev ffmpeg-dev gnutls-dev libav-dev \
15 linux-api-headers libbzip2 zlib x264 perl perl-dbi perl-dbd-mysql \
16 perl-time-hires perl-getopt-long perl-date-manip perl-libwww-perl \
17 perl-archive-zip"
19 compile_rules() {
20 sed -i 's/.*fcntl.h.*/#include <limits.h>\n&/' src/zm_event.cpp \
21 src/zm_local_camera.cpp
22 CXXFLAGS=-D__STDC_CONSTANT_MACROS \
23 ./configure \
24 --with-libarch=lib \
25 --with-mysql=/usr \
26 --with-ffmpeg=/usr \
27 --with-webuser=www \
28 --with-webgroup=www \
29 --with-webdir=/usr/share/zoneminder/www \
30 --with-cgidir=/usr/share/zoneminder/cgi-bin \
31 --enable-mmap=no \
32 $CONFIGURE_ARGS &&
33 make &&
34 make -j1 DESTDIR=$install install || return 1
36 install -Dm644 $stuff/etc/logrotate.d/zoneminder $install/etc/logrotate.d/zoneminder
37 install -Dm644 $stuff/etc/mysql.d/zoneminder $install/etc/mysql.d/zoneminder
38 install -Dm644 $src/db/zm_create.sql $install/usr/share/zoneminder/zm_create.sql
39 }
41 genpkg_rules() {
42 copy @std
43 DEPENDS="mysql jpeg libbzip2 zlib ffmpeg x264 perl perl-dbi \
44 perl-dbd-mysql perl-time-hires perl-getopt-long perl-date-manip \
45 perl-libwww-perl perl-archive-zip"
46 }