Files
haikuports/net-dialup/minicom/minicom-2.6.2.recipe
2014-04-21 19:31:51 +02:00

61 lines
1.6 KiB
Plaintext

SUMMARY="Minicom is a menu driven communications program."
DESCRIPTION="
Minicom is a menu driven communications program. It emulates ANSI and VT102 \
terminals. It has a dialing directory and auto zmodem download.
"
HOMEPAGE="https://alioth.debian.org/projects/minicom/"
SRC_URI="https://alioth.debian.org/frs/download.php/file/3869/minicom-2.6.2.tar.gz"
CHECKSUM_SHA256="f3cf215f7914ffa5528e398962176102ad74df27ba38958142f56aa6d15c9168"
COPYRIGHT="
1991,1992,1993,1994,1995,1996 Miquel van Smoorenburg."
LICENSE="GNU GPL v2"
REVISION="1"
ARCHITECTURES="x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
PROVIDES="
minicom$secondaryArchSuffix = $portVersion
cmd:minicom$secondaryArchSuffix = $portVersion
cmd:xminicom$secondaryArchSuffix = $portVersion
cmd:ascii_xfr$secondaryArchSuffix = $portVersion
cmd:runscript$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libiconv$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libiconv$secondaryArchSuffix
devel:libncurses$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:autoconf
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
"
BUILD()
{
LOCKDIR=`finddir B_USER_SETTINGS_DIRECTORY`/serial
mkdir -p $LOCKDIR
CFLAGS="-DTIOCM_CAR=TIOCM_CD -lnetwork" runConfigure ./configure \
--enable-lock-dir=$LOCKDIR
make $jobArgs
}
INSTALL()
{
make install
}