mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
xa65, bump, move to Gentoo layout (#6752)
This commit is contained in:
29
dev-embedded/xa65/patches/xa65-2.3.12.patchset
Normal file
29
dev-embedded/xa65/patches/xa65-2.3.12.patchset
Normal file
@@ -0,0 +1,29 @@
|
||||
From a2dbaaf6b1604256d2a666ccd5529b9ae84d9164 Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Tue, 26 Jun 2018 16:01:29 +0200
|
||||
Subject: use /bin/perl instead of /usr/bin/perl
|
||||
|
||||
|
||||
diff --git a/tests/harness b/tests/harness
|
||||
index fdc7d53..da641a4 100755
|
||||
--- a/tests/harness
|
||||
+++ b/tests/harness
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/perl -s
|
||||
+#!/bin/perl -s
|
||||
|
||||
$make ||= "make";
|
||||
$cc ||= "cc";
|
||||
diff --git a/tests/hextool b/tests/hextool
|
||||
index 7ea574c..df9ead0 100755
|
||||
--- a/tests/hextool
|
||||
+++ b/tests/hextool
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/perl -s
|
||||
+#!/bin/perl -s
|
||||
|
||||
# This tool either emits hex in a machine or human parseable format, or
|
||||
# compares two binaries in the form of cmp. It is mostly to deal with
|
||||
--
|
||||
2.16.4
|
||||
|
||||
59
dev-embedded/xa65/xa65-2.3.12.recipe
Normal file
59
dev-embedded/xa65/xa65-2.3.12.recipe
Normal file
@@ -0,0 +1,59 @@
|
||||
SUMMARY="An open-source 6502 cross assembler"
|
||||
DESCRIPTION="xa is a high-speed, two-pass portable cross-assembler. It \
|
||||
understands mnemonics and generates code for NMOS 6502s (such as 6502A, \
|
||||
6504, 6507, 6510, 7501, 8500, 8501, 8502 ...), CMOS 6502s (65C02 and \
|
||||
Rockwell R65C02) and the 65816."
|
||||
HOMEPAGE="https://www.floodgap.com/retrotech/xa/"
|
||||
COPYRIGHT="1989-2020 Andre Fachat
|
||||
Jolse Maginnis
|
||||
David Weinehall
|
||||
Cameron Kaiser"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://www.floodgap.com/retrotech/xa/dists/xa-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="f8fd1536012d676fc6cbfcdd6a91793e564c89b6ef747f8db8f467c178fb0704"
|
||||
SOURCE_DIR="xa-$portVersion"
|
||||
PATCHES="xa65-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
|
||||
PROVIDES="
|
||||
xa65 = $portVersion
|
||||
cmd:file65 = 0.2.1
|
||||
cmd:ldo65 = 0.1.1
|
||||
cmd:printcbm = 1.0.0
|
||||
cmd:reloc65 = 0.2.1
|
||||
cmd:uncpk = 0.2.1
|
||||
cmd:xa = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
cmd:cmp
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make DESTDIR=$prefix $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install DESTDIR=$prefix MANDIR=$manDir/man1
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user