It's in emdebian svn under tools/apt-crossThe actual packaging needs a few tweaks and the script may well have bugs, so please test and report.
From the help output (mangled slightly by line wrapping in the email client)
Usage:apt-cross [-a|--arch ARCH] [-S|--suite SUITE] [-m|--mirror MIRROR] --install|-i <packages...> apt-cross [-a|--arch ARCH] [-S|--suite SUITE] [-m|--mirror MIRROR] --build|-b <packages...> apt-cross [-a|--arch ARCH] [-S|--suite SUITE] [-m|--mirror MIRROR] --get|-g <packages...>
apt-cross [--remove|--purge|-r] <packages...> apt-cross [--status|-s] <packages...> apt-cross [--list|-l] <packages...> apt-cross [--list-files|-L] <packages...> apt-cross [--update|-u] Options:-a|--arch ARCH: set architecture (default: defined in configuration file) -S|--suite SUITE: set the Debian suite (stable, testing, unstable [default])
-m|--mirror MIRROR: set the Debian mirror to use to retrieve packages(default: first usable mirror in /etc/apt/sources.list)
-v|--verbose: be verbose -q|--quiet: be quiet apt-cross provides apt functionality for cross-building via dpkg-cross.By default, apt-cross uses your /etc/apt/sources.list to find the latest debian package file for the architecture specified (default is arm) and in the suite specified (default is unstable). Alternatively, you can specify a different mirror. Downloaded files can be passed directly to dpkg-cross using the -b or -i commands to apt-cross. If the local file is missing or out of date, a new one will be downloaded automatically - if this fails, use apt-cross --update to force apt-cross to update the cache.
apt-cross --install and apt-cross --update require root privileges or sudo.
Note that apt-cross is separate from emdebian-tools or any of the other scripts I am developing - it's a standalone utility and I expect to upload it to Debian main in due course (although it's not intended for Etch).
-- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
Attachment:
pgpKKMPDMy7kg.pgp
Description: PGP signature