[package] install bandwidthd logo (#7794)
[openwrt/svn-archive/archive.git] / 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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=pwcrypt
11 PKG_VERSION:=1.2.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://xjack.org/pwcrypt/downloads
16 PKG_MD5SUM:=381a60c8debe5b21c935b19684de
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/pwcrypt
21 SECTION:=utils
22 CATEGORY:=Utilities
23 TITLE:=A utility to create crypted passwords from plaintext
24 URL:=http://xjack.org/pwcrypt
25 endef
26
27 define Package/pwcrypt/description
28 A wrapper for the unix crypt() function. Supports crypt and MD5 hashing
29 endef
30
31 define Package/pwcrypt/install
32 $(INSTALL_DIR) $(1)/sbin
33 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/pwcrypt $(1)/sbin/
34 endef
35
36 $(eval $(call BuildPackage,pwcrypt))