summaryrefslogtreecommitdiffstats
path: root/base/john/Pkgfile
blob: e724754dffb5917b8d2cb64d30e1975ecc0df9d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Description: utilitaire systeme pour retrouver les mots de passe
# URL: http://www.openwall.com/john/ 
# Maintainer: NuTyX core team
# Packager: fred.galusik at gmail dot com
# Depends on: 

name=john
version=1.7.3.4
release=3
source=(http://www.openwall.com/john/g/$name-$version.tar.gz john)

build() {
cd $name-$version/src
	make clean linux-x86-any
	mkdir -p $PKG/usr/share/$name
	cp -a ../run/* $PKG/usr/share/$name

	mkdir -p $PKG/usr/bin
	install -m 755 ../../john $PKG/usr/bin/

	mkdir -p $PKG/usr/share/doc/$name
	cp -a ../doc/* $PKG/usr/share/doc/$name

	chmod 755 $PKG/usr/share/john/mailer
	chmod 644 $PKG/usr/share/john/john.conf
	chown -R root:root $PKG
}