From c9440e68d71e5fbde7bd3a5252aa545f689b4b3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Bernacki?= <33581850+Ra-V2@users.noreply.github.com> Date: Sat, 14 Dec 2019 22:38:57 +0100 Subject: [PATCH] create recipe for ncdu 1.14.1 (#4446) --- sys-fs/ncdu/ncdu-1.14.1.recipe | 44 ++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 sys-fs/ncdu/ncdu-1.14.1.recipe diff --git a/sys-fs/ncdu/ncdu-1.14.1.recipe b/sys-fs/ncdu/ncdu-1.14.1.recipe new file mode 100644 index 000000000..133616d75 --- /dev/null +++ b/sys-fs/ncdu/ncdu-1.14.1.recipe @@ -0,0 +1,44 @@ +SUMMARY="A disk usage analyser with a ncurses interface" +DESCRIPTION="Ncdu aims to be fast, simple and easy to use, \ +and should be able to run in any minimal POSIX-like environment \ +with ncurses installed." +HOMEPAGE="https://dev.yorhel.nl/ncdu" +COPYRIGHT="2007-2019 Yoran Heling" +LICENSE="MIT" +REVISION="1" +SOURCE_URI="https://dev.yorhel.nl/download/ncdu-$portVersion.tar.gz" +CHECKSUM_SHA256="be31e0e8c13a0189f2a186936f7e298c6390ebdc573bb4a1330bc1fcbf56e13e" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + ncdu$secondaryArchSuffix = $portVersion + cmd:ncdu$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libncurses$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libncurses$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:awk + cmd:gcc$secondaryArchSuffix + cmd:make + cmd:pkg_config$secondaryArchSuffix + " + +BUILD() +{ + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install +}