summaryrefslogtreecommitdiffstats
path: root/beecrypt/Pkgfile
blob: 499a610c1cb079a9375594dbf7186f90f25b2fd8 (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
# Description: Librairie pour la Cryptographie
# URL: http://beecrypt.sourceforge.net/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on:

name=beecrypt
version=4.2.1
release=2
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz)
build () {
	export CFLAGS="-mtune=core2 -O2 -pipe"
	export CXXFLAGS="-mtune=core2 -O2 -pipe"

	cd $name-$version
	./configure --prefix=/usr \
		    --without-python \
		    --without-java

	make
	make prefix=$PKG/usr install

	chown -R root:root $PKG
}