wok-next annotate pgadmin/receipt @ rev 13624
Up libvalhalla (2.1.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 13 16:28:48 2012 +0100 (2012-11-13) |
parents | edb9c2957254 |
children | 51a1ebbda768 |
rev | line source |
---|---|
erjo@3678 | 1 # SliTaz package receipt. |
erjo@3678 | 2 |
erjo@3678 | 3 PACKAGE="pgadmin" |
erjo@3678 | 4 VERSION="1.10.0" |
pascal@5728 | 5 CATEGORY="utilities" |
ben@6484 | 6 SHORT_DESC="PostgreSQL administration an management tools" |
erjo@3678 | 7 MAINTAINER="erjo@slitaz.org" |
ben@6484 | 8 DEPENDS="postgresql wxWidgets gtk+ libxslt libcomerr3 libkrb5 xorg-libXxf86vm" |
pascal@8938 | 9 BUILD_DEPENDS="libcrypto 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 } |