mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
58 lines
1.3 KiB
Bash
58 lines
1.3 KiB
Bash
SUMMARY="Put the fun back in Lisp"
|
|
DESCRIPTION="newLISP is a LISP-like scripting language for doing things"
|
|
HOMEPAGE="http://www.newlisp.org"
|
|
COPYRIGHT="2013 Lutz Mueller"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="http://www.newlisp.org/downloads/newlisp-10.7.5.tgz"
|
|
SOURCE_FILENAME="newlisp-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="dc2d0ff651c2b275bc4af3af8ba59851a6fb6e1eaddc20ae75fb60b1e90126ec"
|
|
PATCHES="newlisp-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
commandBinDir=$binDir
|
|
commandSuffix=$secondaryArchSuffix
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
PROVIDES="
|
|
newlisp$secondaryArchSuffix = $portVersion
|
|
cmd:newlisp$commandSuffix = $portVersion
|
|
cmd:newlisp_$portVersion = $portVersion
|
|
cmd:newlispdoc = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libffi$secondaryArchSuffix
|
|
lib:libncursesw$secondaryArchSuffix
|
|
lib:libreadline$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libffi$secondaryArchSuffix
|
|
devel:libncursesw$secondaryArchSuffix
|
|
devel:libreadline$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure --omit-dirs binDir \
|
|
./configure-alt --bindir=$commandBinDir
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|