wok annotate pwgen/receipt @ rev 12294
linux: build first the x86_64 kernel
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 16 09:42:04 2012 +0200 (2012-04-16) |
parents | |
children | bf4a09ef1d2e |
rev | line source |
---|---|
slaxemulator@6553 | 1 # SliTaz package receipt. |
slaxemulator@6553 | 2 |
slaxemulator@6553 | 3 PACKAGE="pwgen" |
slaxemulator@6553 | 4 VERSION="2.06" |
slaxemulator@6553 | 5 CATEGORY="misc" |
slaxemulator@6553 | 6 SHORT_DESC="Pwgen is a small password generator which creates passwords which can be easily memorized by a human" |
slaxemulator@6553 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@6553 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6553 | 9 WEB_SITE="http://sourceforge.net/projects/pwgen/" |
slaxemulator@6553 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@6553 | 11 |
slaxemulator@6553 | 12 # Rules to configure and make the package. |
slaxemulator@6553 | 13 compile_rules() |
slaxemulator@6553 | 14 { |
slaxemulator@6553 | 15 cd $src |
slaxemulator@6553 | 16 ./configure \ |
slaxemulator@6553 | 17 --prefix=/usr \ |
slaxemulator@6553 | 18 --infodir=/usr/share/info \ |
slaxemulator@6553 | 19 --mandir=/usr/share/man \ |
slaxemulator@6553 | 20 $CONFIGURE_ARGS && |
slaxemulator@6553 | 21 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@6553 | 22 } |
slaxemulator@6553 | 23 |
slaxemulator@6553 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6553 | 25 genpkg_rules() |
slaxemulator@6553 | 26 { |
slaxemulator@6553 | 27 mkdir -p $fs/usr |
slaxemulator@6553 | 28 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6553 | 29 } |
slaxemulator@6553 | 30 |