33 lines
925 B
Text
Executable file
33 lines
925 B
Text
Executable file
APP=heimdall
|
|
VERSION=1.4.2
|
|
BUILD=1sml
|
|
HOMEPAGE="https://www.glassechidna.com.au/products/heimdall/"
|
|
DOWNLOAD="https://github.com/Benjamin-Dobell/Heimdall/archive/refs/tags/v1.4.2.tar.gz"
|
|
DESC="Cross-platform open-source tool suite to flash ROMs onto Samsung mobile devices"
|
|
REQUIRES="gcc-libs libusb eudev"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf Heimdall-$VERSION
|
|
|
|
tar xf $SRCDIR/Heimdall-$VERSION.tar.?z*
|
|
cd Heimdall-$VERSION
|
|
fixbuilddirpermissions
|
|
|
|
mkdir -p smbuild && cd smbuild
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX="/" \
|
|
-DDISABLE_FRONTEND=ON \
|
|
|
|
make
|
|
|
|
install -Dm 0755 bin/heimdall $PKG/bin/heimdall
|
|
install -Dm 0644 ../heimdall/60-heimdall.rules $PKG/lib/udev/rules.d/60-heimdall.rules
|
|
cp ../LICENSE $PKGDOCS/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
SHA512SUMS="
|
|
fc461d5281a3e8a6188ec5ba845d6e719285c91e2874fbbc62b6c54a8494c84fa1b93c15c2684ed936061c861b9a892aaca0a69efe692534e4f09da13077472d Heimdall-1.4.2.tar.lz
|
|
"
|