wok annotate pgadmin/receipt @ rev 5018

update DEPENDS: nvidia is hardware-specific and should be removed or optional
author Rohit Joshi <jozee@slitaz.org>
date Mon Mar 01 08:54:30 2010 +0000 (2010-03-01)
parents d2ab4b7df4b6
children 79786ef062b2
rev   line source
erjo@3678 1 # SliTaz package receipt.
erjo@3678 2
erjo@3678 3 PACKAGE="pgadmin"
erjo@3678 4 VERSION="1.10.0"
erjo@3678 5 CATEGOR="utilities"
erjo@3678 6 SHORT_DESC="PostgreSQL administratio an management tools"
erjo@3678 7 MAINTAINER="erjo@slitaz.org"
pascal@5005 8 DEPENDS="postgresql wxWidgets gtk+ libxslt libcomerr3 xorg-libXxf86vm"
erjo@3982 9 BUILD_DEPENDS="postgresql postgresql-dev libxslt-dev libxml2-dev wxWidgets-dev"
erjo@3678 10 SOURCE="pgadmin3"
erjo@3678 11 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@3678 12 WEB_SITE="http://www.pgadmin.org"
erjo@3678 13 WGET_URL="ftp://ftp.ch.postgresql.org/mirror/postgresql/pgadmin3/release/v$VERSION/src/$TARBALL"
erjo@3678 14
erjo@3678 15 # Rules to configure and make the package.
erjo@3678 16 compile_rules()
erjo@3678 17 {
erjo@3678 18 cd $src
erjo@3678 19 ./configure \
erjo@3678 20 --prefix=/usr \
erjo@3678 21 --infodir=/usr/share/info \
erjo@3678 22 --mandir=/usr/share/man \
erjo@3678 23 $CONFIGURE_ARGS &&
erjo@3678 24 make && make DESTDIR=$PWD/_pkg install
erjo@3678 25 }
erjo@3678 26
erjo@3678 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@3678 28 genpkg_rules()
erjo@3678 29 {
erjo@3678 30 mkdir -p $fs/usr/share/pgadmin3/i18n
erjo@3678 31
erjo@3678 32 cp -a $_pkg/usr/bin $fs/usr
erjo@3678 33 cp -a $_pkg/usr/share/pgadmin3/*.ini $fs/usr/share/pgadmin3
erjo@3678 34 cp -a $_pkg/usr/share/pgadmin3/branding $fs/usr/share/pgadmin3
erjo@3678 35 cp -a $_pkg/usr/share/pgadmin3/i18n/fr_FR $fs/usr/share/pgadmin3/i18n
erjo@3678 36 cp -a $_pkg/usr/share/pgadmin3/i18n/*.lng $fs/usr/share/pgadmin3/i18n
erjo@3678 37
erjo@3678 38 cp -a stuff/applications $fs/usr/share
erjo@3678 39 cp -a stuff/icons $fs/usr/share
erjo@3678 40 }