diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2011-12-10 22:34:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-16 14:46:44 +0000 |
commit | b12e6b85fc987bd362cb21ae2d2dec5fd16c2953 (patch) | |
tree | bd2659152bddec654c015d627d4043be1cc3bc57 /testing | |
parent | 158bf907016271c8643815cca5d614c084c41f24 (diff) | |
download | aports-b12e6b85fc987bd362cb21ae2d2dec5fd16c2953.tar.bz2 aports-b12e6b85fc987bd362cb21ae2d2dec5fd16c2953.tar.xz |
Initial APKBUILD for passwdgen
Package description:
passwdgen is a random password generator.
It can generate multiple types of password:
- Alphanumeric. (By default)
- Only upper characters
- Only lower characters
- Only numbers
- Right hand writable passwords
- Left hand writable passwords
Website: http://code.google.com/p/passwdgen/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/passwdgen/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/passwdgen/APKBUILD b/testing/passwdgen/APKBUILD new file mode 100644 index 000000000..d47fbb2f9 --- /dev/null +++ b/testing/passwdgen/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=passwdgen +pkgver=0.1.2 +pkgrel=0 +pkgdesc="A random password generator" +url="http://code.google.com/p/passwdgen/" +arch="all" +license="GPL2+" +depends="" +depends_dev="" +makedepends="" +install="" +subpackages="$pkgname-doc" +source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$_builddir" + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="d1b954610935a26ca257e4fc7c870f1e passwdgen-0.1.2.tar.gz" |