24 lines
643 B
Meson
24 lines
643 B
Meson
project('libzepkg', 'c')
|
|
|
|
cmake = import('cmake')
|
|
pkg = import('pkgconfig')
|
|
|
|
# The minizip-ng project, used for gzipping files
|
|
minizip_ng = cmake.subproject('minizip-ng').dependency('minizip')
|
|
|
|
files = files(
|
|
'src/crypt/sha256.c',
|
|
'src/crypt/utils.c')
|
|
include = include_directories('include')
|
|
|
|
# Build the library (statically)
|
|
libzepkg = static_library('zepkg', files,
|
|
include_directories : include,
|
|
dependencies : [minizip_ng])
|
|
|
|
# Generate a pkg-config file
|
|
pkg.generate(
|
|
libraries : [libzepkg],
|
|
version : '0.1.0',
|
|
name : 'libzepkg',
|
|
description : 'Library for extracting zyb files, and interacting with the zepkg database.')
|