wok-6.x annotate pgadmin/receipt @ rev 18521

Add wxWidgets28 for oldstable version of wxWidgets. Move old packages to use it.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 26 02:54:52 2015 +0200 (2015-10-26)
parents c7c5267e7001
children 6135577f4d08
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
al@18521 14 DEPENDS="postgresql wxWidgets28 gtk+ libxslt libcomerr3 libkrb5 xorg-libXxf86vm"
al@18521 15 BUILD_DEPENDS="libcrypto postgresql postgresql-dev libxslt-dev libxml2-dev \
al@18521 16 wxWidgets28-dev"
pascal@15375 17
erjo@3678 18 # Rules to configure and make the package.
erjo@3678 19 compile_rules()
erjo@3678 20 {
al@18521 21 ./configure \
al@18521 22 --prefix=/usr \
al@18521 23 --infodir=/usr/share/info \
al@18521 24 --mandir=/usr/share/man \
al@18521 25 $CONFIGURE_ARGS &&
al@18521 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 {
al@18521 32 mkdir -p $fs/usr/share/pgadmin3/i18n
al@18521 33
al@18521 34 cp -a $install/usr/bin $fs/usr
al@18521 35 cp -a $install/usr/share/pgadmin3/*.ini $fs/usr/share/pgadmin3
al@18521 36 cp -a $install/usr/share/pgadmin3/branding $fs/usr/share/pgadmin3
al@18521 37 cp -a $install/usr/share/pgadmin3/i18n/fr_FR $fs/usr/share/pgadmin3/i18n
al@18521 38 cp -a $install/usr/share/pgadmin3/i18n/*.lng $fs/usr/share/pgadmin3/i18n
al@18521 39
al@18521 40 cp -a stuff/applications $fs/usr/share
al@18521 41 cp -a stuff/icons $fs/usr/share
erjo@3678 42 }