wok-current annotate pgadmin/receipt @ rev 25290

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