wok annotate zoneminder/receipt @ rev 20194

Up autofs (5.1.4), btrfs-progs (4.15), cifs-utils (6.7), davfs2 (1.5.4), dosfstools (4.1), e2fsprogs (1.43.9), f2fs-tools (1.10.0), moosefs (3.0.100), milfs-utils (2.2.7), owfs (3.2p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 12 13:54:33 2018 +0100 (2018-02-12)
parents 002d4bf6c905
children e8609d0658d7
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@16612 14 DEPENDS="mysql jpeg bzlib zlib ffmpeg 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@16664 17 BUILD_DEPENDS="mysql-dev jpeg-dev ffmpeg-dev gnutls-dev libav-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 }