summaryrefslogtreecommitdiffstats
path: root/main/pwgen
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2010-09-23 10:04:08 +0000
committerLeonardo Arena <rnalrd@gmail.com>2010-09-23 10:04:08 +0000
commitd75eb48ccf696bb9c296dab18e06aeb31440c12b (patch)
treeaf2a62c026ee755b54e76f3e7ee37444c03d441d /main/pwgen
parent1319da73758e07bb45fdcf090916563dbaed229f (diff)
downloadaports-d75eb48ccf696bb9c296dab18e06aeb31440c12b.tar.bz2
aports-d75eb48ccf696bb9c296dab18e06aeb31440c12b.tar.xz
main/pwgen: new aport
Diffstat (limited to 'main/pwgen')
-rw-r--r--main/pwgen/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/main/pwgen/APKBUILD b/main/pwgen/APKBUILD
new file mode 100644
index 000000000..5703f28f1
--- /dev/null
+++ b/main/pwgen/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Leonardo Arena <rnalrd@gmail.com>
+pkgname=pwgen
+pkgver=2.06
+pkgrel=0
+pkgdesc="Password Generator"
+url="http://sourceforge.net/projects/pwgen/"
+license="GPL"
+depends=
+makedepends=
+install=
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="935aebcbe610fbc9de8125e7b7d71297 pwgen-2.06.tar.gz"