add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if...
[openwrt.git] / package / haserl / Makefile
index 83a7d84..8e53456 100644 (file)
@@ -17,8 +17,6 @@ PKG_SOURCE_URL:=@SF/haserl
 PKG_MD5SUM:=bd9195d086566f56634c0bcbbbcbebea
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/haserl
@@ -29,8 +27,8 @@ define Package/haserl
 endef
 
 define Package/haserl/install
-       install -m0755 -d $(1)/usr/bin
-       install -m0755 $(PKG_BUILD_DIR)/src/haserl $(1)/usr/bin/
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/haserl $(1)/usr/bin/
 endef
 
 $(eval $(call BuildPackage,haserl))
This page took 0.026226 seconds and 4 git commands to generate.