void-packages/srcpkgs/pgadmin3/template
2016-10-06 03:48:21 -04:00

23 lines
773 B
Bash

# Template file for 'pgadmin3'
pkgname=pgadmin3
version=1.22.1
revision=3
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=719ea7c0e65d99e8f365bf2d395d7a199804170b3266ada1374d9ac790bc783e
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
}