Cleanup natpmp Makefile
authorFlorian Fainelli <florian@openwrt.org>
Tue, 5 Feb 2008 15:39:02 +0000 (15:39 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 5 Feb 2008 15:39:02 +0000 (15:39 +0000)
SVN-Revision: 10393

net/natpmp/Makefile

index 86bff45365fb70a521f7a184bdea380ae67f1f8d..bedfe10c60ee8c76301d85257f525e0e46a69aa8 100644 (file)
@@ -39,15 +39,11 @@ define Build/Compile
                CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include" \
                LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
                prefix="$(PKG_INSTALL_DIR)/usr"
-       mkdir -p $(PKG_INSTALL_DIR)/usr/sbin
-       $(CP) $(PKG_BUILD_DIR)/natpmp $(PKG_INSTALL_DIR)/usr/sbin
 endef
 
 define Package/natpmp/install
        $(INSTALL_DIR) $(1)/usr/sbin
-       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/natpmp $(1)/usr/sbin
-       $(RSTRIP) $(1)/usr/sbin/natpmp
-
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/natpmp $(1)/usr/sbin
        $(INSTALL_DIR) $(1)/etc/config
        $(INSTALL_DATA) ./files/natpmp.config $(1)/etc/config/natpmp
        $(INSTALL_DIR) $(1)/etc/init.d