wok annotate pgadmin/receipt @ rev 17259

Add xar.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Oct 22 00:09:32 2014 +0300 (2014-10-22)
parents 51a1ebbda768
children affba9aecc73
rev   line source
erjo@3678 1 # SliTaz package receipt.
erjo@3678 2
erjo@3678 3 PACKAGE="pgadmin"
pascal@17213 4 VERSION="1.18.1"
pascal@5728 5 CATEGORY="utilities"
ben@6484 6 SHORT_DESC="PostgreSQL administration an management tools"
erjo@3678 7 MAINTAINER="erjo@slitaz.org"
pascal@15375 8 LICENSE="BSD"
erjo@3678 9 SOURCE="pgadmin3"
erjo@3678 10 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@3678 11 WEB_SITE="http://www.pgadmin.org"
erjo@3678 12 WGET_URL="ftp://ftp.ch.postgresql.org/mirror/postgresql/pgadmin3/release/v$VERSION/src/$TARBALL"
erjo@3678 13
pascal@15375 14 DEPENDS="postgresql wxWidgets gtk+ libxslt libcomerr3 libkrb5 xorg-libXxf86vm"
pascal@15375 15 BUILD_DEPENDS="libcrypto postgresql postgresql-dev libxslt-dev libxml2-dev wxWidgets-dev"
pascal@15375 16
erjo@3678 17 # Rules to configure and make the package.
erjo@3678 18 compile_rules()
erjo@3678 19 {
erjo@3678 20 cd $src
erjo@3678 21 ./configure \
erjo@3678 22 --prefix=/usr \
erjo@3678 23 --infodir=/usr/share/info \
erjo@3678 24 --mandir=/usr/share/man \
erjo@3678 25 $CONFIGURE_ARGS &&
pascal@15375 26 make && make DESTDIR=$DESTDIR install
erjo@3678 27 }
erjo@3678 28
erjo@3678 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@3678 30 genpkg_rules()
erjo@3678 31 {
erjo@3678 32 mkdir -p $fs/usr/share/pgadmin3/i18n
erjo@3678 33
pascal@15375 34 cp -a $install/usr/bin $fs/usr
pascal@15375 35 cp -a $install/usr/share/pgadmin3/*.ini $fs/usr/share/pgadmin3
pascal@15375 36 cp -a $install/usr/share/pgadmin3/branding $fs/usr/share/pgadmin3
pascal@15375 37 cp -a $install/usr/share/pgadmin3/i18n/fr_FR $fs/usr/share/pgadmin3/i18n
pascal@15375 38 cp -a $install/usr/share/pgadmin3/i18n/*.lng $fs/usr/share/pgadmin3/i18n
erjo@3678 39
erjo@3678 40 cp -a stuff/applications $fs/usr/share
erjo@3678 41 cp -a stuff/icons $fs/usr/share
erjo@3678 42 }