wok-6.x annotate pgadmin/receipt @ rev 15375
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 18 19:43:55 2013 +0000 (2013-10-18) |
parents | ad786a87b22e |
children | c7c5267e7001 |
rev | line source |
---|---|
erjo@3678 | 1 # SliTaz package receipt. |
erjo@3678 | 2 |
erjo@3678 | 3 PACKAGE="pgadmin" |
erjo@3678 | 4 VERSION="1.10.0" |
pascal@5728 | 5 CATEGORY="utilities" |
ben@6484 | 6 SHORT_DESC="PostgreSQL administration an management tools" |
erjo@3678 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15375 | 8 LICENSE="BSD" |
erjo@3678 | 9 SOURCE="pgadmin3" |
erjo@3678 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@3678 | 11 WEB_SITE="http://www.pgadmin.org" |
erjo@3678 | 12 WGET_URL="ftp://ftp.ch.postgresql.org/mirror/postgresql/pgadmin3/release/v$VERSION/src/$TARBALL" |
erjo@3678 | 13 |
pascal@15375 | 14 DEPENDS="postgresql wxWidgets gtk+ libxslt libcomerr3 libkrb5 xorg-libXxf86vm" |
pascal@15375 | 15 BUILD_DEPENDS="libcrypto postgresql postgresql-dev libxslt-dev libxml2-dev wxWidgets-dev" |
pascal@15375 | 16 |
erjo@3678 | 17 # Rules to configure and make the package. |
erjo@3678 | 18 compile_rules() |
erjo@3678 | 19 { |
erjo@3678 | 20 cd $src |
erjo@3678 | 21 ./configure \ |
erjo@3678 | 22 --prefix=/usr \ |
erjo@3678 | 23 --infodir=/usr/share/info \ |
erjo@3678 | 24 --mandir=/usr/share/man \ |
erjo@3678 | 25 $CONFIGURE_ARGS && |
pascal@15375 | 26 make && make DESTDIR=$DESTDIR install |
erjo@3678 | 27 } |
erjo@3678 | 28 |
erjo@3678 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3678 | 30 genpkg_rules() |
erjo@3678 | 31 { |
erjo@3678 | 32 mkdir -p $fs/usr/share/pgadmin3/i18n |
erjo@3678 | 33 |
pascal@15375 | 34 cp -a $install/usr/bin $fs/usr |
pascal@15375 | 35 cp -a $install/usr/share/pgadmin3/*.ini $fs/usr/share/pgadmin3 |
pascal@15375 | 36 cp -a $install/usr/share/pgadmin3/branding $fs/usr/share/pgadmin3 |
pascal@15375 | 37 cp -a $install/usr/share/pgadmin3/i18n/fr_FR $fs/usr/share/pgadmin3/i18n |
pascal@15375 | 38 cp -a $install/usr/share/pgadmin3/i18n/*.lng $fs/usr/share/pgadmin3/i18n |
erjo@3678 | 39 |
erjo@3678 | 40 cp -a stuff/applications $fs/usr/share |
erjo@3678 | 41 cp -a stuff/icons $fs/usr/share |
erjo@3678 | 42 } |