#!/bin/sh
#
# Copyright 2014-2026 Sasa Ostrouska <saxa@droplinegnome.org>
# Available under the terms of the GNU GPL.
#

NAME="rest"
VERSION="0.9.1"
REVISION="3"

PKG_SOURCEURL='${DLG_GNOMEMIRROR}/${NAME}/${VER_MAJ}.${VER_MIN}/${NAME}-${VERSION}.tar.xz'

. $DLG_ROOT/etc/config
. $DLG_ROOT/lib/dl-base

cflags
cxxflags
prepare
analyzesource
configure -Dca_certificates=true \
	-Dca_certificates_path=/etc/ssl/certs \
	-Dvapi=true \
	-Dgtk_doc=false
make
makeinstall
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
