-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Maintainer: Tim S <[email protected]> | ||
# Original Author: Paul Hentschel <paul at hpminc dot com> | ||
|
||
_realname=toolshed | ||
_machine=m6809 | ||
_target=${_machine}-unknown | ||
_basepkgver=2.2 | ||
|
||
pkgname=${_realname}-hg | ||
pkgver=2.2+r819.221d493c19f8 | ||
pkgrel=1 | ||
pkgdesc="Utilities for Tandy Color Computer and Dragon microcomputers cross-development" | ||
arch=('x86_64') | ||
url="http://toolshed.sourceforge.net" | ||
license=('PerlArtistic') | ||
groups=("${_target}-toolchain") | ||
makedepends=('gcc' 'make' 'mercurial' 'patch') | ||
source=("${_realname}::hg+http://hg.code.sf.net/p/toolshed/code") | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd "${_realname}" | ||
printf "${_basepkgver}+r%s.%s" "$(hg identify -n)" "$(hg identify -i)" | ||
} | ||
|
||
prepare() { | ||
cd "${_realname}" | ||
} | ||
|
||
build() { | ||
cd "${_realname}" | ||
make -C build/unix clean | ||
make -C build/unix | ||
} | ||
|
||
check() { | ||
cd "${_realname}" | ||
./tests/hybrid-dsk.sh | ||
./tests/multihdb-dsk.sh | ||
} | ||
|
||
package() { | ||
cd "${_realname}" | ||
make DESTDIR="$pkgdir/" -C build/unix install | ||
|
||
# Install license file | ||
sed -n '/Copyright/,/PARTICULAR PURPOSE./p' casm/src/util.h > LICENSE | ||
install -Dm644 -t "$pkgdir${MSYSTEM_PREFIX}/share/licenses/${_realname}" LICENSE | ||
|
||
# Install image for HTML manual | ||
install -m644 doc/cover.jpg "$pkgdir${MSYSTEM_PREFIX}/share/doc/${_realname}/" | ||
} | ||
|
||
# vim:set ts=2 sw=2 et: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: toolshed | ||
Source: https://sourceforge.net/projects/toolshed/ | ||
|
||
Files: * | ||
Copyright: 2004 Boisy G. Pitre | ||
License: Public Domain | ||
|
||
Files: casm/* | ||
Copyright: 2004 Chet Simpson, Digial Asphyxia | ||
License: artistic | ||
|
||
Files: makewav/* | ||
Copyright: 2007 Tim Lindner | ||
License: Public Domain | ||
|
||
Files: superdos/* | ||
Copyright: 1986 Grosvenor, Compusense. | ||
License: Public Domain | ||
|
||
Files: mamou/* | ||
Copyright: 2004 Boisy G. Pitre | ||
License: Public Domain | ||
|
||
Files: hdbdos/* | ||
Copyright: 2004 Boisy G. Pitre | ||
License: Public Domain | ||
|
||
Files: cocoroms/*.asm | ||
Copyright: 1982 Tandy | ||
License: Public Domain | ||
|
||
Files: debian/* | ||
Copyright: 2013 Tormod Volden <[email protected]> | ||
License: artistic |