@@ -0,0 +1,47 @@
|
||||
import subprocess
|
||||
|
||||
from lib import cpp, arch
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("4.0.7")
|
||||
description("Command line and full screen utilities for browsing procfs")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-4.0.7.tar.xz/download")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/autotools")
|
||||
builddep("libintl-dev @target")
|
||||
builddep("gettext")
|
||||
builddep("pkgconf @target")
|
||||
builddep("libncurses-dev @target")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.configure([
|
||||
f"--libdir={get_prefix('libproc2')}/lib",
|
||||
f"--includedir={get_prefix('libproc2-dev')}/include",
|
||||
f"--bindir={get_prefix('procps-ng')}/bin",
|
||||
"--enable-harden-flags",
|
||||
"--enable-colorwatch",
|
||||
"--enable-watch8bit",
|
||||
"--enable-sigwinch",
|
||||
"--disable-kill",
|
||||
])
|
||||
cpp.make()
|
||||
cpp.make_install()
|
||||
|
||||
|
||||
on_build(build)
|
||||
|
||||
package("libproc2")
|
||||
dep("semi-libc @same-arch")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
|
||||
package("libproc2-dev")
|
||||
dep("libproc2 (same)")
|
||||
cpp.use_auto_pack(["dev"])
|
||||
|
||||
package("procps-ng")
|
||||
dep("libproc2 (same)")
|
||||
cpp.use_auto_pack(["bin"])
|
||||
Reference in New Issue
Block a user