mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
New package: yaboot-bin-1.3.17
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
890092080c
commit
f2c5d280ce
1 changed files with 27 additions and 0 deletions
27
srcpkgs/yaboot-bin/template
Normal file
27
srcpkgs/yaboot-bin/template
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Template file for 'yaboot-bin'
|
||||||
|
pkgname=yaboot-bin
|
||||||
|
version=1.3.17
|
||||||
|
revision=1
|
||||||
|
_deb_rev=4
|
||||||
|
archs="ppc*"
|
||||||
|
short_desc="Bootloader for PowerMac and IBM CHRP computers"
|
||||||
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||||
|
license="GPL-2.0-or-later"
|
||||||
|
homepage="https://wiki.debian.org/YaBoot"
|
||||||
|
distfiles="https://cdimage.debian.org/cdimage/cd-sources/yaboot_${version}-${_deb_rev}_powerpc.deb"
|
||||||
|
checksum=8d043a8aaeee452ae011d475a6da93c79b461c14d3fd232050e93302de63cdcb
|
||||||
|
nopie=yes
|
||||||
|
|
||||||
|
do_extract() {
|
||||||
|
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/yaboot_${version}-${_deb_rev}_powerpc.deb
|
||||||
|
tar xf data.tar.xz
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vmkdir usr
|
||||||
|
cp -a usr/* "${DESTDIR}"/usr
|
||||||
|
mv "${DESTDIR}"/usr/{s,}bin
|
||||||
|
|
||||||
|
# Remove unused files
|
||||||
|
rm -rf "${DESTDIR}"/usr/share/lintian
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue