mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
sunxi-tools: update to 1.4.2, adopt.
This commit is contained in:
parent
04f1becae3
commit
a852533adf
1 changed files with 11 additions and 25 deletions
|
@ -1,31 +1,17 @@
|
||||||
# Template file for 'sunxi-tools'
|
# Template file for 'sunxi-tools'
|
||||||
pkgname=sunxi-tools
|
pkgname=sunxi-tools
|
||||||
reverts=20150526_1
|
reverts="20140125_1 20150226_1 20150226_2 20150226_3 20150526_1"
|
||||||
version=20150226
|
version=1.4.2
|
||||||
revision=3
|
revision=1
|
||||||
_commit=b80e7ce7bd5c2015465c2fd0e5990d47c05c7f8e
|
build_style="gnu-makefile"
|
||||||
wrksrc="$pkgname-$_commit"
|
make_build_target="tools misc"
|
||||||
hostmakedepends="pkg-config git"
|
make_install_target="install-tools install-misc"
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libusb-devel"
|
makedepends="libusb-devel"
|
||||||
short_desc="Tools to help hacking Allwinner AXX (aka sunxi) based devices"
|
short_desc="Tools to help hacking Allwinner AXX (aka sunxi) based devices"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="classabbyamp <void@placeviolette.net>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://github.com/linux-sunxi/sunxi-tools"
|
homepage="https://github.com/linux-sunxi/sunxi-tools"
|
||||||
distfiles="$homepage/archive/$_commit.tar.gz"
|
distfiles="https://github.com/linux-sunxi/sunxi-tools/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=93922d654df5153d468b0f7900f96fe858fe457894ff2dd0f5dfb5c94b65475b
|
checksum=81f48014a520cb83cac4e17f5ae627a637c4d6a422b60c693c5a705c92e43822
|
||||||
|
make_check=no # it's a mess
|
||||||
CFLAGS="-std=c99 -I./include"
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
|
|
||||||
}
|
|
||||||
do_install() {
|
|
||||||
vinstall README 644 usr/share/doc/${pkgname}
|
|
||||||
|
|
||||||
for f in fexc bootinfo fel usb-boot fel-gpio pio nand-part; do
|
|
||||||
vbin ${f}
|
|
||||||
done
|
|
||||||
cd ${DESTDIR}/usr/bin
|
|
||||||
ln -s fexc fex2bin
|
|
||||||
ln -s fexc bin2fex
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue