m681x-binutils stable port information

Package: m681x-binutils
Version: 2.17
Revision: 2
Description: For Motorola 6811/12 microcontrollers
Maintainer: Carl van Denzen
BuildDepends: libgettext3-dev, gettext-tools (>=0.14.5-1)
Replaces: m6811-binutils, m6812-binutils
Conflicts: m6811-binutils, m6812-binutils
#HomePage: http://m68hc11.serveftp.org/m68hc11_src.php
HomePage: http://ftp.gnu.org/gnu/binutils/
License: GPL
Source: mirror:gnu:binutils/binutils-%v.tar.bz2
Source-MD5: e26e2e06b6e4bf3acf1dc8688a94c0d1
DescPort: <<
Avoided using /sw/m6811. Its lib & include folders have been moved to /sw/share/m6811 and the binaries are put into /sw/bin.
All man files renamed to m6811-...1 to avoid clashes with other potential toolchains.
All xxx.info removed to avoid clashes with other potential toolchains.
<<
DescPackaging: Disable -Werror to avoid complaints about stat64. Suggested by Sean Mollet, nhtshot@gmail.com
CompileScript: <<
#!/bin/bash -ev
# Extract TARGET and PROGRAM_PREFIX from the fink package name
# m6811-xxxx -> m6811-elf cq m6811-elf- cq m6811 (machine)
SOURCEDIR=$(pwd)
for x in 1 2 ; do
#
# 681$x
#
MACHINE=%n;MACHINE=${MACHINE%%x-*}$x
TARGET=${MACHINE}-elf;PROGRAM_PREFIX=$TARGET-
cd $SOURCEDIR
BUILDDIR=build.${MACHINE}
mkdir $BUILDDIR
cd $BUILDDIR
../configure --target=$TARGET --prefix=%p/share/$MACHINE --bindir=%p/bin --mandir=%p/share/man --infodir=%p/share/info --program-prefix=$PROGRAM_PREFIX --disable-werror
make
done
<<
InstallScript: <<
#!/bin/bash -ev
# Extract TARGET and PROGRAM_PREFIX from the fink package name
# m6811-xxxx -> m6811-elf cq m6811-elf- cq m6811 (machine)
SOURCEDIR=$(pwd)
for x in 1 2 ; do
#
# 681$x
#
MACHINE=%n;MACHINE=${MACHINE%%x-*}$x
TARGET=${MACHINE}-elf;PROGRAM_PREFIX=$TARGET-
cd $SOURCEDIR
BUILDDIR=build.${MACHINE}
cd $BUILDDIR
make install DESTDIR=%d
done
#
# Remove the files xxx.info to avoid name clashes with other binutils packages and these two packages (m6811 and m6812)
rm -rf %i/share/info
<<
DocFiles: README COPYING*