#!/bin/sh

NAME="libmrss"
DESC="mRSS is a C library for parsing, writing and creating RSS files or streams"

MAKEDEPS="automake autoconf libtool m4 curl libnxml doxygen"

PKG_VER=0.19.2
SOURCE="https://github.com/bakulf/libmrss/archive/refs/tags/$PKG_VER.tar.gz"

prepare () {
    # this file is required 
    touch NEWS
    autoreconf -vif
}

build() {
	./configure --prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR=$PKG_DEST install
}