New package: uboot-tools-armhf-2012.04.01.
This commit is contained in:
parent
4cfea57036
commit
c9895bc3cd
1 changed files with 30 additions and 0 deletions
30
srcpkgs/uboot-tools-armhf/template
Normal file
30
srcpkgs/uboot-tools-armhf/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'uboot-tools-armhf'
|
||||
# XXX use the armhf debian binary for now.
|
||||
pkgname=uboot-tools-armhf
|
||||
version=2012.04.01
|
||||
revision=1
|
||||
short_desc="Companion tools for Das U-Boot bootloader"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2"
|
||||
homepage="http://www.denx.de/wiki/U-Boot"
|
||||
distfiles="http://http.us.debian.org/debian/pool/main/u/u-boot/u-boot-tools_${version}-2_armhf.deb"
|
||||
checksum=17cb7e0368ba98cb0baf4d3da410fb00b608ab73d1c35af56d926336b9a81bd3
|
||||
|
||||
noextract=yes
|
||||
create_wrksrc=yes
|
||||
disable_debug=yes
|
||||
makedepends="bsdtar"
|
||||
|
||||
only_for_archs="armv6l"
|
||||
|
||||
do_extract() {
|
||||
cd ${wrksrc}
|
||||
bsdtar xf ${XBPS_SRCDISTDIR}/$(basename $distfiles) data.tar.gz
|
||||
bsdtar xf data.tar.gz
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vmkdir usr
|
||||
cp -a usr/* ${DESTDIR}/usr
|
||||
rm -rf ${DESTDIR}/usr/share/doc
|
||||
}
|
Loading…
Reference in a new issue