Merge pull request #507 from roger-/motion
motion: update and switch to recent fork
This commit is contained in:
commit
008585be94
2 changed files with 15 additions and 29 deletions
|
@ -8,16 +8,21 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=motion
|
PKG_NAME:=motion
|
||||||
PKG_VERSION:=20110826-051001
|
PKG_VERSION=3.4.0-20141018-$(PKG_SOURCE_VERSION)
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_MAINTAINER:=Roger D <rogerdammit@gmail.com>
|
PKG_MAINTAINER:=Roger D <rogerdammit@gmail.com>
|
||||||
|
PKG_LICENSE:=GPLv2
|
||||||
|
PKG_LICENSE_FILES:=COPYING
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=http://www.lavrsen.dk/sources/motion-daily \
|
PKG_SOURCE_URL:=https://github.com/Mr-Dave/motion.git
|
||||||
@SF/motion
|
PKG_SOURCE_VERSION:=9479d910f2149b5558788bb86f97f26522794212
|
||||||
PKG_MD5SUM:=e703fce57ae2215cb05f25e3027f5818
|
|
||||||
|
|
||||||
PKG_INSTALL:=1
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||||
|
PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
|
||||||
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
|
||||||
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
@ -44,9 +49,9 @@ CONFIGURE_ARGS+= \
|
||||||
|
|
||||||
define Package/motion/install
|
define Package/motion/install
|
||||||
$(INSTALL_DIR) $(1)/etc
|
$(INSTALL_DIR) $(1)/etc
|
||||||
$(CP) $(PKG_INSTALL_DIR)/etc/motion-dist.conf $(1)/etc/motion.conf
|
$(CP) $(PKG_BUILD_DIR)/motion-dist.conf $(1)/etc/motion.conf
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/motion $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/motion $(1)/usr/bin/
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
--- a/Makefile.in
|
|
||||||
+++ b/Makefile.in
|
|
||||||
@@ -31,6 +31,7 @@ examplesdir = $(datadir)/@PACKAGE_NAME@-
|
|
||||||
# install. #
|
|
||||||
################################################################################
|
|
||||||
CFLAGS = @CFLAGS@ -Wall -DVERSION=\"@PACKAGE_VERSION@\" -Dsysconfdir=\"$(sysconfdir)\"
|
|
||||||
+CPPFLAGS = @CPPFLAGS@
|
|
||||||
LDFLAGS = @LDFLAGS@
|
|
||||||
LIBS = @LIBS@
|
|
||||||
VIDEO_OBJ = @VIDEO@
|
|
||||||
@@ -118,7 +119,7 @@ endif
|
|
||||||
################################################################################
|
|
||||||
$(DEPEND_FILE): *.h $(SRC)
|
|
||||||
@echo "Generating dependencies, please wait..."
|
|
||||||
- @$(CC) $(CFLAGS) -M $(SRC) > .tmp
|
|
||||||
+ @$(CC) $(CFLAGS) $(CPPFLAGS) -M $(SRC) > .tmp
|
|
||||||
@mv -f .tmp $(DEPEND_FILE)
|
|
||||||
@echo
|
|
||||||
|
|
Loading…
Reference in a new issue