Merge pull request #6745 from cr6git/Heimdall
heimdall: update to 1.4.2
This commit is contained in:
commit
c61947ba19
@ -1,31 +1,26 @@
|
|||||||
# Template file for 'heimdall'
|
# Template file for 'heimdall'
|
||||||
pkgname="heimdall"
|
pkgname=heimdall
|
||||||
version="1.4.1"
|
version=1.4.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=cmake
|
||||||
short_desc="Tool suite used to flash firmware onto Samsung Galaxy S devices"
|
short_desc="Tool suite used to flash firmware onto Samsung Galaxy S devices"
|
||||||
maintainer="Renato Aguiar <contact@renatoaguiar.org>"
|
maintainer="Renato Aguiar <contact@renatoaguiar.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/Benjamin-Dobell/Heimdall"
|
homepage="https://github.com/Benjamin-Dobell/Heimdall"
|
||||||
distfiles="https://github.com/Benjamin-Dobell/Heimdall/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
distfiles="${homepage}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||||
checksum="f0a6e4b5bf806fe4ab5413dd869817b600bcd339b642ff46ec0c5fe69adf7230"
|
checksum=589bef88f2597c8a84fe6fafbe928ddc9687438b5b54edd917d7df48c7e3eff8
|
||||||
wrksrc="Heimdall-${version}"
|
wrksrc="Heimdall-${version}"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libusb-devel"
|
makedepends="libusb-devel qt5-devel"
|
||||||
|
|
||||||
do_configure() {
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
cd $wrksrc/libpit
|
# Need some devel packages in the host
|
||||||
./configure ${configure_args}
|
hostmakedepends+=" qt5-tools-devel"
|
||||||
cd $wrksrc/heimdall
|
fi
|
||||||
./configure ${configure_args}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
make ${makejobs} ${make_build_args} -C libpit
|
|
||||||
make ${makejobs} ${make_build_args} -C heimdall
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
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
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user