diff --git a/network/poink/poink.conf b/network/poink/poink.conf new file mode 100644 index 000000000..d48f9a52a --- /dev/null +++ b/network/poink/poink.conf @@ -0,0 +1,27 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../poink/poink.conf +# Copyright (C) 2009 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +makeinstopt= + +poink_install() { + cp -vf poink "$root$bindir/" + cp -vf ping.1 "$root$mandir/man1/poink.1" + + if ! pkginstalled netkit-base inetutils; then + ln -snf ping "$root$bindir/poink" + ln -snf ping.1 "$root$mandir/man1/poink.1" + fi +} + +hook_add postmake 5 'poink_install'