wok-next view pgadmin/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | d5aab818505e |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pgadmin"
4 VERSION="1.18.1"
5 CATEGORY="utilities"
6 SHORT_DESC="PostgreSQL administration an management tools"
7 MAINTAINER="devel@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"
15 BUILD_DEPENDS="openssl postgresql postgresql-dev libxslt-dev libxml2-dev \
16 wxWidgets28-dev"
18 compile_rules() {
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$install install
26 }
28 genpkg_rules() {
29 mkdir -p $fs/usr/share/pgadmin3/i18n
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/pgadmin3/*.ini $fs/usr/share/pgadmin3
33 cp -a $install/usr/share/pgadmin3/branding $fs/usr/share/pgadmin3
34 cp -a $install/usr/share/pgadmin3/i18n/fr_FR $fs/usr/share/pgadmin3/i18n
35 cp -a $install/usr/share/pgadmin3/i18n/*.lng $fs/usr/share/pgadmin3/i18n
37 cp -a $stuff/applications $fs/usr/share
38 cp -a $stuff/icons $fs/usr/share
39 DEPENDS="postgresql wxWidgets28 gtk2 libxslt libcomerr3 libkrb5 \
40 xorg-libXxf86vm"
41 }