a004019bdba307341b34cb186fdab1785a118a22
[openwrt/svn-archive/archive.git] / 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 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 URL:=http://sourceforge.net/projects/pwgen/
38 endef
39
40 # uses GNU configure
41
42 define Package/pwgen/install
43 $(INSTALL_DIR) $(1)/usr/bin
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/pwgen $(1)/usr/bin/
45 endef
46
47 $(eval $(call BuildPackage,pwgen))