Files
ports/packages/graphviz/pkgbuild.py
T
2026-11-30 05:25:35 +00:00

31 lines
649 B
Python

from lib.make import *
from lib import cpp
version("16.1.0")
description("a library that provides automatic proxy configuration management")
maintainer("sisungo <[email protected]>")
source_managed("gitlab://gitlab.com/graphviz/graphviz#16.1.0")
builddep("shortcut/c++")
builddep("shortcut/cmake")
builddep("bison")
builddep("flex")
builddep("gzip")
builddep("libexpat-dev @target")
def build():
cpp.cmake([
"-DENABLE_LTDL=OFF",
"-DWITH_EXPAT=ON",
"-DWITH_GVEDIT=OFF",
"-DWITH_SMYRNA=OFF",
"-DWITH_ZLIB=OFF",
"-DWITH_GDK=OFF",
])
cpp.ninja()
cpp.ninja_install()
on_build(build)