heimdall: update to 1.4.2

This commit is contained in:
cr6git 2017-06-16 02:22:18 +02:00 committed by GitHub
parent cd266eedcb
commit 6ca1e9a5aa

View file

@ -1,31 +1,26 @@
# Template file for 'heimdall'
pkgname="heimdall"
version="1.4.1"
pkgname=heimdall
version=1.4.2
revision=1
build_style=gnu-configure
build_style=cmake
short_desc="Tool suite used to flash firmware onto Samsung Galaxy S devices"
maintainer="Renato Aguiar <contact@renatoaguiar.org>"
license="MIT"
homepage="https://github.com/Benjamin-Dobell/Heimdall"
distfiles="https://github.com/Benjamin-Dobell/Heimdall/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum="f0a6e4b5bf806fe4ab5413dd869817b600bcd339b642ff46ec0c5fe69adf7230"
distfiles="${homepage}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=589bef88f2597c8a84fe6fafbe928ddc9687438b5b54edd917d7df48c7e3eff8
wrksrc="Heimdall-${version}"
hostmakedepends="pkg-config"
makedepends="libusb-devel"
makedepends="libusb-devel qt5-devel"
do_configure() {
cd $wrksrc/libpit
./configure ${configure_args}
cd $wrksrc/heimdall
./configure ${configure_args}
}
do_build() {
make ${makejobs} ${make_build_args} -C libpit
make ${makejobs} ${make_build_args} -C heimdall
}
if [ -n "$CROSS_BUILD" ]; then
# Need some devel packages in the host
hostmakedepends+=" qt5-tools-devel"
fi
do_install() {
make DESTDIR=${DESTDIR} ${make_install_args} -C heimdall install
vbin build/bin/heimdall
vbin build/bin/heimdall-frontend
vinstall heimdall/60-heimdall.rules 644 usr/lib/udev/rules.d
vlicense LICENSE
}