void-packages/srcpkgs/pgadmin3/template
2015-11-11 15:28:58 +01:00

23 lines
773 B
Bash

# Template file for 'pgadmin3'
pkgname=pgadmin3
version=1.20.0
revision=2
build_style=gnu-configure
configure_args="ac_cv_path_WX_CONFIG=wx-config-3.0 --with-wx-version=3.0"
makedepends="postgresql-libs-devel wxWidgets-devel libxslt-devel libressl-devel"
short_desc="Comprehensive design and management interface for PostgreSQL"
maintainer="Gerardo Di Iorio <arete74@gmail.com>"
license="BSD"
homepage="http://www.pgadmin.org"
distfiles="http://ftp.postgresql.org/pub/pgadmin3/release/v${version}/src/pgadmin3-${version}.tar.gz"
checksum=0773d7826a9c7a998c4872e9b00b998e0bbb10448984d66853420c95fa626b8c
nocross=yes
post_extract() {
sed -i 's/wxrc/&-3.0/' pgadmin/ui/embed-xrc
sed -i 's,${WX_HOME}/bin/wx-config,&-3.0,g' configure
}
post_install() {
vlicense LICENSE
}