mame: install tools in /usr/bin
Closes #13835 Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
d46f8063d8
commit
a7173a103f
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mame'
|
# Template file for 'mame'
|
||||||
pkgname=mame
|
pkgname=mame
|
||||||
version=0197
|
version=0197
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="mame-mame${version}"
|
wrksrc="mame-mame${version}"
|
||||||
homepage="http://mamedev.org"
|
homepage="http://mamedev.org"
|
||||||
distfiles="https://github.com/mamedev/mame/archive/mame${version}.tar.gz"
|
distfiles="https://github.com/mamedev/mame/archive/mame${version}.tar.gz"
|
||||||
|
@ -82,18 +82,20 @@ do_install() {
|
||||||
for f in mame mame64 mamearcade mamearcade64; do
|
for f in mame mame64 mamearcade mamearcade64; do
|
||||||
if [ -r ${f} ]; then
|
if [ -r ${f} ]; then
|
||||||
vinstall ${f} 755 usr/share/${pkgname} mame
|
vinstall ${f} 755 usr/share/${pkgname} mame
|
||||||
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
for f in mess mess64; do
|
for f in mess mess64; do
|
||||||
if [ -r ${f} ]; then
|
if [ -r ${f} ]; then
|
||||||
vinstall ${f} 755 usr/share/${pkgname} mess
|
vinstall ${f} 755 usr/share/${pkgname} mess
|
||||||
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Install the tools
|
# Install the tools
|
||||||
for f in chdman jedutil regrep pngcmp romcmp src2html srcclean \
|
for f in chdman jedutil regrep pngcmp romcmp src2html srcclean \
|
||||||
ldverify ldresample unidasm castool floptool imgtool; do
|
ldverify ldresample unidasm castool floptool imgtool; do
|
||||||
vinstall ${f} 755 usr/share/${pkgname}
|
vbin ${f}
|
||||||
if [ -f docs/man/${f}.1 ]; then
|
if [ -f docs/man/${f}.1 ]; then
|
||||||
vman docs/man/${f}.1
|
vman docs/man/${f}.1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue