You are not logged in.

#1 2004-08-10 21:22:20

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

pkgbuild: pgaccess - tcl/tk admin gui for postgresql

Not much to say about it. It's a "traditional" administration and monitoring gui written in tck/tk for postgresql database.
pgaccess PKGBUILD:

pkgname=pgaccess
pkgver=0.99.0.20040219
pkgrel=1
pkgdesc="Postgresql database administration and monitoring tcl/tk GUI tool"
url="http://www.pgaccess.org"
depends=('bash' 'tcl' 'tk')
source=(http://dl.sourceforge.net/sourceforge/pgaccess/$pkgname-0_99_0_20040219.tgz)
md5sums=('5440a130da909368a7274ac6f4578039')

build() {
    install -d $startdir/pkg/usr/bin
    install -d $startdir/pkg/usr/lib/pgaccess

    cd $startdir/src/$pkgname-0_99_0_20040219
    chmod a+x pgaccess.tcl
    chmod a+x pgmonitor
    cp -R * $startdir/pkg/usr/lib/pgaccess

    rm -rf $startdir/pkg/usr/lib/pgaccess/osx
    rm -rf $startdir/pkg/usr/lib/pgaccess/win32

    ln -sf /usr/lib/pgaccess/pgaccess.tcl $startdir/pkg/usr/bin/pgaccess
    ln -sf /usr/lib/pgaccess/pgmonitor $startdir/pkg/usr/bin/pgmonitor
}

It's not really compiled. I only translated original makefile to pkgbuild form and got rid of the unnecessary subdirs.

Offline

Board footer

Powered by FluxBB