-$(IPKG_L2TPD): $(PKG_BUILD_DIR)/$(PKG_NAME)
- $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_L2TPD) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
- mkdir -p $(IDIR_L2TPD)/usr/sbin
- cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_L2TPD)/usr/sbin/
- $(STRIP) $(IDIR_L2TPD)/usr/sbin/*
- mkdir -p $(PACKAGE_DIR)
+$(IPKG_L2TPD):
+ install -d -m0755 $(IDIR_L2TPD)/usr/sbin
+ install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_L2TPD)/usr/sbin/
+ $(RSTRIP) $(IDIR_L2TPD)