wok rev 19891
Add postgresql-contrib
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 05 16:25:04 2017 +0200 (2017-04-05) |
parents | 181b1bc0998b |
children | b1fa3edb255f |
files | postgresql-contrib/receipt postgresql/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/postgresql-contrib/receipt Wed Apr 05 16:25:04 2017 +0200 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="postgresql-contrib" 1.7 +VERSION="9.2.3" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="SQL database system user contributions." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="BSD" 1.12 +WEB_SITE="http://www.postgresql.org/" 1.13 +WANTED="postgresql" 1.14 + 1.15 +DEPENDS="postgresql" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/usr/lib/postgresql 1.21 + cp -a $src/contrib/*/*.so $fs/usr/lib/postgresql 1.22 +}
2.1 --- a/postgresql/receipt Wed Apr 05 10:24:01 2017 +0200 2.2 +++ b/postgresql/receipt Wed Apr 05 16:25:04 2017 +0200 2.3 @@ -19,7 +19,6 @@ 2.4 # Rules to configure and make the package. 2.5 compile_rules() 2.6 { 2.7 - cd $src 2.8 [ -d ../postgrpsql-$VERSION ] && cp -a ../postgrpsql-$VERSION/* . 2.9 cp $stuff/*.files-list . 2.10 ./configure --prefix=/usr --infodir=/usr/share/info \ 2.11 @@ -29,7 +28,7 @@ 2.12 --enable-thread-safety --with-system-tzdata=/usr/share/zoneinfo \ 2.13 --libdir=/usr/lib/postgresql --mandir=/usr/share/man \ 2.14 $CONFIGURE_ARGS && 2.15 - make && 2.16 + make world && 2.17 make DESTDIR=$DESTDIR install 2.18 make -C doc/src/sgml DESTDIR=$DESTDIR install-html 2.19 }