wok view pgadmin/receipt @ rev 24920

updated mp (5.2.10 -> 5.58)
author Hans-G?nter Theisgen
date Sun Apr 10 07:48:27 2022 +0100 (2022-04-10)
parents 45ea7937177f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pgadmin"
4 VERSION="1.22.2"
5 CATEGORY="utilities"
6 SHORT_DESC="PostgreSQL administration and management tools."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.pgadmin.org"
11 SOURCE="pgadmin3"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="ftp://ftp.ch.postgresql.org/mirror/postgresql/pgadmin3/release/v$VERSION/src/$TARBALL"
14 WGET_URL="https://ftp.postgresql.org/pub/$PACKAGE/$SOURCE/v$VERSION/src/$TARBALL"
16 DEPENDS="gtk+ libcomerr3 libkrb5 libxslt postgresql wxWidgets28 xorg-libXxf86vm"
17 BUILD_DEPENDS="libcrypto openssl-dev postgresql postgresql-dev libxml2-dev \
18 libxslt-dev wxWidgets28-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://ftp.postgresql.org/pub/$PACKAGE/$SOURCE/ 2>/dev/null | \
24 sed '/v[0-9]/!d;s|.*">v||;s|/.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/pgadmin3/i18n
44 cp -a $install/usr/bin \
45 $fs/usr
46 cp -a $install/usr/share/pgadmin3/*.ini \
47 $fs/usr/share/pgadmin3
48 cp -a $install/usr/share/pgadmin3/branding \
49 $fs/usr/share/pgadmin3
50 cp -a $install/usr/share/pgadmin3/i18n/de_DE \
51 $fs/usr/share/pgadmin3/i18n
52 cp -a $install/usr/share/pgadmin3/i18n/fr_FR \
53 $fs/usr/share/pgadmin3/i18n
54 cp -a $install/usr/share/pgadmin3/i18n/*.lng \
55 $fs/usr/share/pgadmin3/i18n
57 cp -a stuff/applications $fs/usr/share
58 cp -a stuff/icons $fs/usr/share
59 }