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