binutils: create triplet symlinks (close #2846).
This commit is contained in:
parent
972a2ab09f
commit
151381dfe5
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'binutils'
|
# Template file for 'binutils'
|
||||||
pkgname=binutils
|
pkgname=binutils
|
||||||
version=2.25.1
|
version=2.25.1
|
||||||
revision=1
|
revision=2
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
short_desc="GNU binary utilities"
|
short_desc="GNU binary utilities"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
@ -91,6 +91,10 @@ do_install() {
|
|||||||
for f in dlltool nlmconv windres windmc; do
|
for f in dlltool nlmconv windres windmc; do
|
||||||
rm -f ${DESTDIR}/usr/share/man/man1/${f}.1
|
rm -f ${DESTDIR}/usr/share/man/man1/${f}.1
|
||||||
done
|
done
|
||||||
|
# Create triplet symlinks
|
||||||
|
for f in ${DESTDIR}/usr/bin/*; do
|
||||||
|
ln -s ${f##*/} ${DESTDIR}/usr/bin/${XBPS_CROSS_TRIPLET:-${XBPS_TRIPLET}}-${f##*/}
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
binutils-devel_package() {
|
binutils-devel_package() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user