nuke $Id$ in /packages as well
[openwrt/svn-archive/archive.git] / utils / pwgen / Makefile
1 #
2 # Copyright (C) 2006 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:=pwgen
11 PKG_VERSION:=2.06
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16 PKG_MD5SUM:=935aebcbe610fbc9de8125e7b7d71297
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/pwgen
21 SECTION:=utils
22 CATEGORY:=Utilities
23 TITLE:=Automatic Password generator
24 URL:=http://sourceforge.net/projects/pwgen/
25 endef
26
27 define Package/pwgen/description
28 pwgen generates random, meaningless but pronounceable passwords.
29 These passwords contain either only lowercase letters, or upper
30 and lower case mixed, or digits thrown in.
31 Uppercase letters and digits are placed in a way that eases
32 remembering their position when memorizing only the word.
33
34 E.g. to generate a WPA preshared-key do:
35 pwgen -c -n -s 63 1
36 endef
37
38 # uses GNU configure
39
40 define Package/pwgen/install
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/pwgen $(1)/usr/bin/
43 endef
44
45 $(eval $(call BuildPackage,pwgen))