#!/bin/bash source $(dirname $0)/global.sh PACKAGE=pwgen VERSION=2.06 DEP_DEV="" # dependencies during compilation DEP_RLS="" # dependencies at stable status AUTHOR="Theodore Ts'o" LICENSE="GPL" HOMEPAGE=http://pwgen.sourceforge.net/ DOWNLOAD_URL=http://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE/$VERSION/$PACKAGE-$VERSION.tar.gz ADDITIONAL_INFO="Pwgen is a small, GPL'ed password generator which creates passwords which can be easily memorized by a human." compile_pwgen () { set_cflags tce-load -wi compiletc $DEP_DEV cd wget -qO- $DOWNLOAD_URL | tar -${TARFLAGS}- cd $DIRNAME ./configure make $MAKE_J_FLAG make DESTDIR=$TMP_PKG install cd .. } package