summaryrefslogtreecommitdiffstats
path: root/libpostgresql/Pkgfile
blob: 50bc420b45784ab4886b14412ca413f9a46a0423 (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
29
30
31
# Description: Système de base de données relationnelles très complète basée sur les objects
# URL: http://www.postgresql.org/
# Maintainer: NuTyX core team
# Packager: lesibel at free dot fr
# Depends on: libxml2, linux-pam
# Run on: libxml2,linux-pam

name=libpostgresql
version=9.1.2
release=1
source=(ftp://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2 
	postgresql.pam)

build() {
	cd postgresql-$version
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--with-docdir=/usr/share/doc \
		--with-openssl \
		--enable-thread-safety \
		--with-pam \
		--with-libxml

	make

	for i in src/interfaces src/bin/pg_config src/include; do
		cd $i
		make DESTDIR=$PKG install
		cd -
	done
}