1 include $(TOPDIR)/rules.mk
2 #Name and release number of this package
6 PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)
8 include $(INCLUDE_DIR)/package.mk
10 define Package/sshpass
16 define Package/sshpass/description
17 Sshpass is a tool for non-interactivly performing password authentication with SSH's
20 #Specify what needs to be done to prepare for building the package.
22 mkdir -p $(PKG_BUILD_DIR)
23 $(CP) ./src/* $(PKG_BUILD_DIR)/
26 #Specify where and how to install the program.
27 define Package/sshpass/install
28 $(INSTALL_DIR) $(1)/bin
29 $(INSTALL_BIN) $(PKG_BUILD_DIR)/sshpass $(1)/bin/
32 #This line executes the necessary commands to compile our program.
33 $(eval $(call BuildPackage,sshpass))