wok view pgadmin/receipt @ rev 18492
cmospwd: force rebuild
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 10 20:11:05 2015 +0200 (2015-10-10) |
parents | 51a1ebbda768 |
children | affba9aecc73 |
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="erjo@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="pgadmin3"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.pgadmin.org"
12 WGET_URL="ftp://ftp.ch.postgresql.org/mirror/postgresql/pgadmin3/release/v$VERSION/src/$TARBALL"
14 DEPENDS="postgresql wxWidgets gtk+ libxslt libcomerr3 libkrb5 xorg-libXxf86vm"
15 BUILD_DEPENDS="libcrypto postgresql postgresql-dev libxslt-dev libxml2-dev wxWidgets-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/pgadmin3/i18n
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/pgadmin3/*.ini $fs/usr/share/pgadmin3
36 cp -a $install/usr/share/pgadmin3/branding $fs/usr/share/pgadmin3
37 cp -a $install/usr/share/pgadmin3/i18n/fr_FR $fs/usr/share/pgadmin3/i18n
38 cp -a $install/usr/share/pgadmin3/i18n/*.lng $fs/usr/share/pgadmin3/i18n
40 cp -a stuff/applications $fs/usr/share
41 cp -a stuff/icons $fs/usr/share
42 }