gcc: add old versions
[openadk.git] / package / motion / Makefile
blobf88db12bdb434f67c1d37e4e3c2e21b99deec5cb
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= motion
7 PKG_VERSION:= 4.6.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 9268df31a5ebeaf8daca4747cdcd01c86e223625b6f971e9bcec98edf35ec06f
10 PKG_DESCR:= webcam motion sensing and logging
11 PKG_SECTION:= mm/video
12 PKG_DEPENDS:= libjpeg-turbo libmicrohttpd
13 PKG_BUILDDEP:= libjpeg-turbo libmicrohttpd
14 PKG_NEEDS:= threads
15 PKG_SITES:= https://github.com/Motion-Project/motion/archive/refs/tags/
17 DISTFILES:= release-$(PKG_VERSION).tar.gz
18 WRKDIST= ${WRKDIR}/${PKG_NAME}-release-${PKG_VERSION}
20 include ${ADK_TOPDIR}/mk/package.mk
22 $(eval $(call PKG_template,MOTION,motion,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 AUTOTOOL_STYLE:= autoreconf
25 CONFIGURE_ARGS+= --without-ffmpeg \
26 --without-jpeg-mmx \
27 --without-optimizecpu \
28 --without-mysql \
29 --without-sqlite \
30 --without-pgsql \
31 --with-v4l
33 motion-install:
34 ${INSTALL_DIR} ${IDIR_MOTION}/etc ${IDIR_MOTION}/usr/bin
35 $(INSTALL_DATA) ./files/motion.conf ${IDIR_MOTION}/etc
36 ${INSTALL_BIN} ${WRKINST}/usr/bin/motion ${IDIR_MOTION}/usr/bin
38 include ${ADK_TOPDIR}/mk/pkg-bottom.mk