@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := motion
PKG_VERSION := 4.2.2
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_MAINTAINER := Roger D <rogerdammit@gmail.com>
PKG_LICENSE := GPLv2
@ -35,6 +35,7 @@ define Package/motion
e n d e f
d e f i n e P a c k a g e / m o t i o n / c o n f f i l e s
/ e t c / c o n f i g / m o t i o n
/ e t c / m o t i o n . c o n f
e n d e f
@ -50,7 +51,9 @@ CONFIGURE_ARGS+= \
--without-webp
d e f i n e P a c k a g e / m o t i o n / i n s t a l l
$( INSTALL_DIR) $( 1) /etc
$( INSTALL_DIR) $( 1) /etc/config $( 1) /etc/init.d
$( INSTALL_CONF) ./files/motion.conf $( 1) /etc/config/motion
$( INSTALL_BIN) ./files/motion.init $( 1) /etc/init.d/motion
$( CP) $( PKG_BUILD_DIR) /motion-dist.conf $( 1) /etc/motion.conf
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /motion $( 1) /usr/bin/