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