|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
#
|
|
# Filename: package/.../ucspi-tcp/ucspi-tcp.conf
|
|
# Copyright (C) 2011 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 ---
|
|
|
|
# usual djbware build-time configuration
|
|
ucspi_tcp_configure() {
|
|
echo "/$prefix" > conf-home
|
|
echo "$CC" > conf-cc
|
|
echo "$CC -s" > conf-ld
|
|
}
|
|
hook_add preconf 5 "ucspi_tcp_configure"
|
|
|
|
# no install target provided within the Makefile
|
|
makeinstopt=
|
|
ucspi_tcp_install() {
|
|
local progs="addcr argv0 date@ delcr finger@ fixcrio http@ \
|
|
mconnect mconnect-io rblsmtpd recordio tcpcat tcpclient \
|
|
tcprules tcprulescheck tcpserver who@"
|
|
for i in $progs; do
|
|
cp -vf $i $root$bindir
|
|
done
|
|
}
|
|
hook_add postmake 9 "ucspi_tcp_install"
|