wok-stable annotate pgadmin/receipt @ rev 5863

busybox: fix pre_install/post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 19 16:46:09 2010 +0200 (2010-07-19)
parents f3327707164a
children edb9c2957254
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"
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 }