wok view pgadmin/receipt @ rev 24445
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 14 14:14:23 2022 +0000 (2022-02-14) |
parents | 6135577f4d08 |
children | 1a39a3d55d0e |
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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pgadmin3/i18n
37 cp -a $install/usr/bin \
38 $fs/usr
39 cp -a $install/usr/share/pgadmin3/*.ini \
40 $fs/usr/share/pgadmin3
41 cp -a $install/usr/share/pgadmin3/branding \
42 $fs/usr/share/pgadmin3
43 cp -a $install/usr/share/pgadmin3/i18n/de_DE \
44 $fs/usr/share/pgadmin3/i18n
45 cp -a $install/usr/share/pgadmin3/i18n/fr_FR \
46 $fs/usr/share/pgadmin3/i18n
47 cp -a $install/usr/share/pgadmin3/i18n/*.lng \
48 $fs/usr/share/pgadmin3/i18n
50 cp -a stuff/applications $fs/usr/share
51 cp -a stuff/icons $fs/usr/share
52 }