wok-current rev 3678

Add pgadmin
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Jul 11 17:13:21 2009 +0200 (2009-07-11)
parents eccf4dfc09c1
children db6394fb176f
files pgadmin/receipt pgadmin/stuff/applications/pgadmin3.desktop pgadmin/stuff/icons/pgadmin3.png
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pgadmin/receipt	Sat Jul 11 17:13:21 2009 +0200
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pgadmin"
     1.7 +VERSION="1.10.0"
     1.8 +CATEGOR="utilities"
     1.9 +SHORT_DESC="PostgreSQL administratio an management tools"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="postgresql wxWidgets gtk+"
    1.12 +BUILD_DEPENDS="postgresql postgrsql-dev libxslt-dev libxml2-dev wxWidgets-dev"
    1.13 +SOURCE="pgadmin3"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://www.pgadmin.org"
    1.16 +WGET_URL="ftp://ftp.ch.postgresql.org/mirror/postgresql/pgadmin3/release/v$VERSION/src/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +        cd $src
    1.22 +        ./configure \
    1.23 +                --prefix=/usr \
    1.24 +                --infodir=/usr/share/info \
    1.25 +                --mandir=/usr/share/man \
    1.26 +                $CONFIGURE_ARGS &&
    1.27 +        make && make DESTDIR=$PWD/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +        mkdir -p $fs/usr/share/pgadmin3/i18n
    1.34 +		
    1.35 +        cp -a $_pkg/usr/bin $fs/usr
    1.36 +		cp -a $_pkg/usr/share/pgadmin3/*.ini $fs/usr/share/pgadmin3
    1.37 +		cp -a $_pkg/usr/share/pgadmin3/branding $fs/usr/share/pgadmin3	
    1.38 +		cp -a $_pkg/usr/share/pgadmin3/i18n/fr_FR $fs/usr/share/pgadmin3/i18n	
    1.39 +		cp -a $_pkg/usr/share/pgadmin3/i18n/*.lng $fs/usr/share/pgadmin3/i18n	
    1.40 +		
    1.41 +		cp -a stuff/applications $fs/usr/share
    1.42 +		cp -a stuff/icons $fs/usr/share
    1.43 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/pgadmin/stuff/applications/pgadmin3.desktop	Sat Jul 11 17:13:21 2009 +0200
     2.3 @@ -0,0 +1,10 @@
     2.4 +[Desktop Entry]
     2.5 +Encoding=UTF-8
     2.6 +Name=pgAdmin III
     2.7 +Exec=pgadmin3
     2.8 +Icon=/usr/share/icons/pgadmin3.png
     2.9 +Type=Application
    2.10 +Categories=Application;Development;
    2.11 +MimeType=text/html
    2.12 +Comment=PostgreSQL Tools
    2.13 +Comment[fr]=Otuils PostgreSQL
     3.1 Binary file pgadmin/stuff/icons/pgadmin3.png has changed