mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
52 lines
1.4 KiB
Bash
52 lines
1.4 KiB
Bash
SUMMARY="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://salsa.debian.org/minicom-team/minicom"
|
|
COPYRIGHT="1991-1996 Miquel van Smoorenburg"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://salsa.debian.org/minicom-team/minicom/uploads/1d9cf62c488b78029faab88c5fd3727b/minicom-2.7.1.tar.gz"
|
|
CHECKSUM_SHA256="532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
minicom$secondaryArchSuffix = $portVersion
|
|
cmd:ascii_xfr$secondaryArchSuffix = $portVersion
|
|
cmd:minicom$secondaryArchSuffix = $portVersion
|
|
cmd:runscript$secondaryArchSuffix = $portVersion
|
|
cmd:xminicom$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libncurses$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libncurses$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
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
|
|
}
|