31 lines
649 B
Python
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)
|