mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
Removed the full-stop and repeating package name in SUMMARY. Removed hard line breaks, broke up some very long paragraphs and use bullet lists where possible. All done by browsing through HaikuDepot. There may be (many) more left in the whole haikuports repo... Included 10 extended desriptions done by soyoye14 for GCI 2014 (https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632) Removed/insert whitespace where it seems to be the custom in recipes. Sometimes rearranged elements of a recipe (moving license and copyright up, for example).
64 lines
1.9 KiB
Plaintext
64 lines
1.9 KiB
Plaintext
SUMMARY="Cross-development tools for the Motorola 6809"
|
|
DESCRIPTION="LWTOOLS is a set of cross-development tools for the Motorola 6809 \
|
|
and Hitachi 6309 microprocessors. It supports assembling to raw binaries, CoCo \
|
|
LOADM binaries, and a proprietary object file format for later linking. It also \
|
|
supports macros and file inclusion among other things.
|
|
"
|
|
HOMEPAGE="http://lwtools.projects.l-w.ca/"
|
|
SRC_URI="$HOMEPAGE/releases/lwtools/lwtools-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="06ee27c597798bbfb064a8d9471e5cd91074ff22fa8eb4f7d276a8809d35622c"
|
|
REVISION="1"
|
|
COPYRIGHT="2006-2014 William Astle"
|
|
LICENSE="GNU GPL v3"
|
|
|
|
ARCHITECTURES=""
|
|
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
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
lwtools$secondaryArchSuffix = $portVersion
|
|
cmd:lwar$secondaryArchSuffix
|
|
cmd:lwasm$secondaryArchSuffix
|
|
cmd:lwlink$secondaryArchSuffix
|
|
cmd:lwobjdump$secondaryArchSuffix
|
|
cmd:m6809_unknown_ar$secondaryArchSuffix
|
|
cmd:m6809_unknown_as$secondaryArchSuffix
|
|
cmd:m6809_unknown_ld$secondaryArchSuffix
|
|
cmd:m6809_unknown_nm$secondaryArchSuffix
|
|
cmd:m6809_unknown_objdump$secondaryArchSuffix
|
|
cmd:m6809_unknown_ranlib$secondaryArchSuffix
|
|
cmd:m6809_unknown_strip$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:cc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install INSTALLDIR=$binDir
|
|
|
|
# Install the binutil-like interfaces to the tools
|
|
cp extra/as $binDir/m6809-unknown-as
|
|
cp extra/ar $binDir/m6809-unknown-ar
|
|
cp extra/ld $binDir/m6809-unknown-ld
|
|
|
|
ln -s /bin/true $binDir/m6809-unknown-nm
|
|
ln -s /bin/true $binDir/m6809-unknown-objdump
|
|
ln -s /bin/true $binDir/m6809-unknown-ranlib
|
|
ln -s /bin/true $binDir/m6809-unknown-strip
|
|
}
|