mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
Add recipe for minicom.
This commit is contained in:
61
net-dialup/minicom/minicom-2.6.2.recipe
Normal file
61
net-dialup/minicom/minicom-2.6.2.recipe
Normal file
@@ -0,0 +1,61 @@
|
||||
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_MD5="203c56c4b447f45e2301b0cc4e83da3c"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user