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

NAME="ytnef"
VERSION="2.1.2"
REVISION="1"

PKG_SOURCEURL='https://github.com/Yeraze/${NAME}/archive/v${VERSION}.tar.gz'

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

cflags
cxxflags
prepare
analyzesource
spewdo "cd $PKG_BUILDROOT; autoreconf -ivf"
configure
make
makeinstall
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
