projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[packages] fontconfig: fix cross-compilation (closes: #5502), add m5sum, cleanup
[openwrt/svn-archive/archive.git]
/
multimedia
/
motion
/
Makefile
diff --git
a/multimedia/motion/Makefile
b/multimedia/motion/Makefile
index 220c760dd9766303daecfaae303aee1e1edd6d46..77abff36e039ed5d558a40ea0aac07c9cd4527ae 100644
(file)
--- a/
multimedia/motion/Makefile
+++ b/
multimedia/motion/Makefile
@@
-1,24
+1,20
@@
#
#
-# Copyright (C) 200
6
OpenWrt.org
+# Copyright (C) 200
8
OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=motion
include $(TOPDIR)/rules.mk
PKG_NAME:=motion
-PKG_VERSION:=
20070331-05100
1
+PKG_VERSION:=
3.2.10.
1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.lavrsen.dk/sources/motion-daily \
@SF/motion
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.lavrsen.dk/sources/motion-daily \
@SF/motion
-PKG_MD5SUM:=16e58186022dfee1c0dcaf03cf5393e5
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+PKG_MD5SUM:=5ffdc958313345c69d3e0d5ec5c013cd
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/package.mk
@@
-43,17
+39,17
@@
define Build/Configure
)
endef
)
endef
-define Build/Compile
+define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
-define Package/motion/install
+define Package/motion/install
$(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_INSTALL_DIR)/etc/motion-dist.conf $(1)/etc/motion.conf
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_INSTALL_DIR)/etc/motion-dist.conf $(1)/etc/motion.conf
$(INSTALL_DIR) $(1)/usr/bin
- $(
CP
) $(PKG_INSTALL_DIR)/usr/bin/motion $(1)/usr/bin/
+ $(
INSTALL_BIN
) $(PKG_INSTALL_DIR)/usr/bin/motion $(1)/usr/bin/
endef
endef