create recipe for ncdu 1.14.1 (#4446)

This commit is contained in:
Rafał Bernacki
2019-12-14 22:38:57 +01:00
committed by waddlesplash
parent e211fcf64a
commit c9440e68d7

View File

@@ -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
}