|
|
@ -27,7 +27,7 @@ |
|
|
|
|
|
|
|
# Source package infos |
|
|
|
NAMESRC=${NAMESRC:-postgresql} |
|
|
|
VERSION=${VERSION:-11.6} |
|
|
|
VERSION=${VERSION:-11.8} |
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2} |
|
|
|
WGET=${WGET:-https://ftp.postgresql.org/pub/source/v$VERSION/postgresql-$VERSION.tar.bz2} |
|
|
|
|
|
|
@ -117,8 +117,8 @@ make install-strip DESTDIR=$PKG |
|
|
|
# Install the startup script |
|
|
|
install -D -m 755 $CWD/rc.postgresql $PKG/etc/rc.d/rc.postgresql.new |
|
|
|
|
|
|
|
# Create directories for config and log files |
|
|
|
mkdir -p $PKG/etc/pgsql $PKG/var/log/pgsql |
|
|
|
# Create directories for config, log, and data files |
|
|
|
mkdir -p $PKG/etc/pgsql $PKG/var/log/pgsql $PKG/var/lib/pgsql |
|
|
|
|
|
|
|
# Install the documentation |
|
|
|
install -m 644 COPYRIGHT INSTALL README doc/KNOWN_BUGS \ |
|
|
@ -133,8 +133,8 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; |
|
|
|
|
|
|
|
# Install PHP extension |
|
|
|
if type -p phpize ; then |
|
|
|
# Get latest PHP included with Slackware-14.2 |
|
|
|
PHP_ARCHIVE=php-7.3.11.tar.xz |
|
|
|
# Get latest PHP included with Slackware-current (as of 2020-06-08) |
|
|
|
PHP_ARCHIVE=php-7.4.6.tar.xz |
|
|
|
( |
|
|
|
cd $CWD |
|
|
|
if [ ! -r $PHP_ARCHIVE ]; then |
|
|
|