# HG changeset patch # User Eric Joseph-Alexandre # Date 1247325201 -7200 # Node ID 91491c1bd7b6711e6641af5046d4e91c327c4d8f # Parent eccf4dfc09c1cedc748a4f71f259ebae2db481d0 Add pgadmin diff -r eccf4dfc09c1 -r 91491c1bd7b6 pgadmin/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pgadmin/receipt Sat Jul 11 17:13:21 2009 +0200 @@ -0,0 +1,40 @@ +# SliTaz package receipt. + +PACKAGE="pgadmin" +VERSION="1.10.0" +CATEGOR="utilities" +SHORT_DESC="PostgreSQL administratio an management tools" +MAINTAINER="erjo@slitaz.org" +DEPENDS="postgresql wxWidgets gtk+" +BUILD_DEPENDS="postgresql postgrsql-dev libxslt-dev libxml2-dev wxWidgets-dev" +SOURCE="pgadmin3" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.pgadmin.org" +WGET_URL="ftp://ftp.ch.postgresql.org/mirror/postgresql/pgadmin3/release/v$VERSION/src/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/pgadmin3/i18n + + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/pgadmin3/*.ini $fs/usr/share/pgadmin3 + cp -a $_pkg/usr/share/pgadmin3/branding $fs/usr/share/pgadmin3 + cp -a $_pkg/usr/share/pgadmin3/i18n/fr_FR $fs/usr/share/pgadmin3/i18n + cp -a $_pkg/usr/share/pgadmin3/i18n/*.lng $fs/usr/share/pgadmin3/i18n + + cp -a stuff/applications $fs/usr/share + cp -a stuff/icons $fs/usr/share +} diff -r eccf4dfc09c1 -r 91491c1bd7b6 pgadmin/stuff/applications/pgadmin3.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pgadmin/stuff/applications/pgadmin3.desktop Sat Jul 11 17:13:21 2009 +0200 @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=pgAdmin III +Exec=pgadmin3 +Icon=/usr/share/icons/pgadmin3.png +Type=Application +Categories=Application;Development; +MimeType=text/html +Comment=PostgreSQL Tools +Comment[fr]=Otuils PostgreSQL diff -r eccf4dfc09c1 -r 91491c1bd7b6 pgadmin/stuff/icons/pgadmin3.png Binary file pgadmin/stuff/icons/pgadmin3.png has changed