-$(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)