aboutsummaryrefslogtreecommitdiff
path: root/system/whowatch/whowatch.build
diff options
context:
space:
mode:
authorDeposite Pirate2018-09-16 18:48:36 +0200
committerDeposite Pirate2018-09-16 18:48:36 +0200
commitd150a5f3e462fa7fe194a805a4aa0076f4d03ab9 (patch)
treece5e44d69c5f3175bfdbd1e3717b52c5dcca5638 /system/whowatch/whowatch.build
parentf29d3519ce073ec30f99754d93304324f7f26d65 (diff)
Add ports.
Diffstat (limited to 'system/whowatch/whowatch.build')
-rwxr-xr-xsystem/whowatch/whowatch.build60
1 files changed, 60 insertions, 0 deletions
diff --git a/system/whowatch/whowatch.build b/system/whowatch/whowatch.build
new file mode 100755
index 0000000..14859c7
--- /dev/null
+++ b/system/whowatch/whowatch.build
@@ -0,0 +1,60 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=whowatch
+VERSION=1.8.3
+BUILD=2
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: whowatch (real-time user logins monitoring tool)
+${NAME}:
+${NAME}: An interactive who-like program that displays information about the
+${NAME}: users currently logged on to the machine, in real time. Besides
+${NAME}: standard informations (login name, tty, host, user's process), the
+${NAME}: type of the connection (ie. telnet or ssh) is shown. You can toggle
+${NAME}: display between users' command or idle time. You can watch process
+${NAME}: trees, navigate in it and send INT and KILL signals.
+${NAME}:
+${NAME}: Homepage: http://wizard.ae.krakow.pl/~mike/#whowatch
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://wizard.ae.krakow.pl/~mike/download/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog ChangeLog
+install.dir ${PKG}${SYS_DIR[bin]}
+install.bin src/whowatch ${PKG}${SYS_DIR[bin]}
+install.dir ${PKG}${SYS_DIR[man]}/man1
+install.man whowatch.1 ${PKG}${SYS_DIR[man]}/man1
+}