[build] type = "autotools" [build.flags] configure = [ "--enable-automated", "--enable-basic", "--enable-console", "--enable-test", "--enable-shared", "--disable-static", ] post_install = [ 'rm -r "$DESTDIR/usr/share/CUnit"', 'mv "$DESTDIR/usr/doc" "$DESTDIR/usr/share/"' ] [dependencies] runtime = ["glibc"] [package] description = "Unit Testing Framework for C" homepage = "http://cunit.sourceforge.net/" license = "LGPL-2.1-or-Later" name = "cunit" version = "2.1.3" [[source]] extract_dir = "$name-$version" sha256 = "f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214" url = "https://downloads.sourceforge.net/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2" post_extract = [ "autoreconf -fiv" ]