From ee6298f07cae197ac5cb91cb67642fa03f8a5781 Mon Sep 17 00:00:00 2001 From: Romain Sertelon Date: Wed, 25 Apr 2018 23:48:55 +0200 Subject: [PATCH] [graphviz] Changes source URL Signed-off-by: Romain Sertelon --- graphviz/plan.sh | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/graphviz/plan.sh b/graphviz/plan.sh index 94b617a745..62bf7b14eb 100644 --- a/graphviz/plan.sh +++ b/graphviz/plan.sh @@ -1,30 +1,37 @@ pkg_name=graphviz -pkg_description="Graphviz - Graph Visualization Software" -pkg_upstream_url=http://www.graphviz.org/ pkg_origin=core -pkg_version=2.38.0 -pkg_maintainer="The Habitat Maintainers " +pkg_version=2.40.1 pkg_license=("EPL-1.0") -pkg_source=http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-${pkg_version}.tar.gz -pkg_shasum=81aa238d9d4a010afa73a9d2a704fc3221c731e1e06577c2ab3496bdef67859e -pkg_dirname=${pkg_name}-${pkg_version} -pkg_deps=(core/glibc) - +pkg_maintainer="The Habitat Maintainers " +pkg_description="Graphviz - Graph Visualization Software" +pkg_upstream_url="https://graphviz.gitlab.io/" +pkg_dirname="${pkg_name}-stable_release_${pkg_version}" +pkg_source="https://gitlab.com/graphviz/graphviz/-/archive/stable_release_${pkg_version}/${pkg_dirname}.tar.bz2" +pkg_shasum="92f654c95b412920777ceddf90e6564ffa871a77e4f6155ab437a2d3a2129e2b" +pkg_deps=( + core/glibc +) pkg_build_deps=( core/autoconf + core/automake + core/bison core/coreutils + core/diffutils + core/flex core/gcc + core/libtool core/make + core/pkg-config ) pkg_lib_dirs=(lib) pkg_include_dirs=(include) do_prepare() { - autoconf -} + # TODO: if we don't copy this aclocal will fail. need to figure out how to fix this + cp "$(pkg_path_for core/pkg-config)/share/aclocal/pkg.m4" "$(pkg_path_for core/automake)/share/aclocal/" -do_build() { - ./configure --prefix=$pkg_prefix && make + libtoolize + ./autogen.sh } do_install() {