wok-next view pgadmin/receipt @ rev 14948
Up: eeze-dev (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:15:53 2013 +0200 (2013-08-08) |
parents | edb9c2957254 |
children | 51a1ebbda768 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pgadmin"
4 VERSION="1.10.0"
5 CATEGORY="utilities"
6 SHORT_DESC="PostgreSQL administration an management tools"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="postgresql wxWidgets gtk+ libxslt libcomerr3 libkrb5 xorg-libXxf86vm"
9 BUILD_DEPENDS="libcrypto postgresql postgresql-dev libxslt-dev libxml2-dev wxWidgets-dev"
10 SOURCE="pgadmin3"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.pgadmin.org"
13 WGET_URL="ftp://ftp.ch.postgresql.org/mirror/postgresql/pgadmin3/release/v$VERSION/src/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pgadmin3/i18n
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/pgadmin3/*.ini $fs/usr/share/pgadmin3
34 cp -a $_pkg/usr/share/pgadmin3/branding $fs/usr/share/pgadmin3
35 cp -a $_pkg/usr/share/pgadmin3/i18n/fr_FR $fs/usr/share/pgadmin3/i18n
36 cp -a $_pkg/usr/share/pgadmin3/i18n/*.lng $fs/usr/share/pgadmin3/i18n
38 cp -a stuff/applications $fs/usr/share
39 cp -a stuff/icons $fs/usr/share
40 }