void-packages/srcpkgs/pgadmin3/template
Gerardo Di Iorio 13caff3820 pgadmin3: fix startup and distfile
Signed-off-by: Gerardo Di Iorio <arete74@gmail.com>
2017-04-27 23:27:02 +02:00

23 lines
774 B
Bash

# Template file for 'pgadmin3'
pkgname=pgadmin3
version=1.22.2
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="https://ftp.postgresql.org/pub/pgadmin/pgadmin3/v${version}/src/pgadmin3-${version}.tar.gz"
checksum=9b68b0e3d3f0a261344fb8196825967d1e7acaca1d8cc82c42e12368ca5844ac
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
}