Ticket #7490: pwcrypt.diff

File pwcrypt.diff, 1.1 KB (added by anonymous, 6 years ago)
  • feeds/packages/utils/pwcrypt/Makefile

     
     1# 
     2# Copyright (C) 2010 OpenWrt.org  
     3# 
     4# This is free software, licensed under the GNU General Public License v2.  
     5# See /LICENSE for more information.  
     6# 
     7 
     8include $(TOPDIR)/rules.mk 
     9 
     10PKG_NAME:=pwcrypt 
     11PKG_VERSION:=1.2.2 
     12PKG_RELEASE:=1 
     13 
     14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     15PKG_SOURCE_URL:=http://xjack.org/pwcrypt/downloads 
     16PKG_MD5SUM:=381a60c8debe5b21c935b19684de 
     17 
     18include $(INCLUDE_DIR)/package.mk 
     19 
     20define Package/pwcrypt 
     21  SECTION:=utils 
     22  CATEGORY:=Utilities 
     23  TITLE:=A utility to create crypted passwords from plaintext 
     24  URL:=http://xjack.org/pwcrypt 
     25endef 
     26 
     27define Package/pwcrypt/description 
     28 A wrapper for the unix crypt() function. Supports crypt and MD5 hashing 
     29endef 
     30 
     31define Package/pwcrypt/install 
     32        $(INSTALL_DIR) $(1)/sbin 
     33        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/pwcrypt $(1)/sbin/ 
     34endef 
     35 
     36$(eval $(call BuildPackage,pwcrypt))