You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
658 B
35 lines
658 B
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Netcat-clone, designed to be portable and offer strong encryption"
|
|
HOMEPAGE="http://tigerteam.se/dl/sbd/"
|
|
SRC_URI="http://tigerteam.se/dl/sbd/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
|
|
|
src_prepare() {
|
|
default
|
|
sed -i \
|
|
-e '/ -o /{ s| $(UNIX_LDFLAGS) $(LDFLAGS)||g;s|$(CFLAGS)|& $(LDFLAGS)|g }' \
|
|
Makefile || die
|
|
}
|
|
|
|
src_compile() {
|
|
emake \
|
|
CC="$(tc-getCC)" \
|
|
CFLAGS="${CFLAGS}" \
|
|
LDFLAGS="${LDFLAGS}" \
|
|
unix
|
|
}
|
|
|
|
src_install() {
|
|
dobin sbd
|
|
dodoc CHANGES README
|
|
}
|