diff options
| author | Mike Baker <mbm@openwrt.org> | 2006-03-20 18:32:11 +0000 |
|---|---|---|
| committer | Mike Baker <mbm@openwrt.org> | 2006-03-20 18:32:11 +0000 |
| commit | ec65e39a75855a6b4f03ba1a8c02256582eb5db6 (patch) | |
| tree | e28266a29f2660ade13cec2bb7cae0dab0725787 /openwrt/package | |
| parent | c87fe1b9140b410c4727799c201e5a541bb8a954 (diff) | |
| download | mtk-20170518-ec65e39a75855a6b4f03ba1a8c02256582eb5db6.zip mtk-20170518-ec65e39a75855a6b4f03ba1a8c02256582eb5db6.tar.gz mtk-20170518-ec65e39a75855a6b4f03ba1a8c02256582eb5db6.tar.bz2 | |
fix motion package aka - clean up someone elses's mess
SVN-Revision: 3419
Diffstat (limited to 'openwrt/package')
| -rw-r--r-- | openwrt/package/Makefile | 2 | ||||
| -rw-r--r-- | openwrt/package/motion/Makefile | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile index eaf9bf4..049a47a 100644 --- a/openwrt/package/Makefile +++ b/openwrt/package/Makefile @@ -439,7 +439,7 @@ mini_httpd-compile: openssl-compile endif ifneq ($(BR2_PACKAGE_MOTION),) -motion-compile: libjpeg-compile +motion-compile: jpeg-compile endif ifneq ($(BR2_PACKAGE_MPD_MP3),) diff --git a/openwrt/package/motion/Makefile b/openwrt/package/motion/Makefile index 578d35b..1cc3039 100644 --- a/openwrt/package/motion/Makefile +++ b/openwrt/package/motion/Makefile @@ -35,15 +35,15 @@ $(PKG_BUILD_DIR)/.built: mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ - install_prefix="$(PKG_INSTALL_DIR)" \ + DESTDIR="$(PKG_INSTALL_DIR)" \ all install touch $@ -$(IPKG_FOO): - install -d -m0755 $(IDIR_FOO)/usr/sbin - $(CP) $(PKG_INSTALL_DIR)/usr/sbin/motion $(IDIR_FOO)/usr/sbin - $(RSTRIP) $(IDIR_FOO) - $(IPKG_BUILD) $(IDIR_FOO) $(PACKAGE_DIR) +$(IPKG_MOTION): + install -d -m0755 $(IDIR_MOTION)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/motion $(IDIR_MOTION)/usr/bin + $(RSTRIP) $(IDIR_MOTION) + $(IPKG_BUILD) $(IDIR_MOTION) $(PACKAGE_DIR) mostlyclean: make -C $(PKG_BUILD_DIR) clean |
