New package: heimdall
This commit is contained in:
parent
8341e4bdf5
commit
03c951927c
1 changed files with 31 additions and 0 deletions
31
srcpkgs/heimdall/template
Normal file
31
srcpkgs/heimdall/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'heimdall'
|
||||
pkgname="heimdall"
|
||||
version="1.4.1"
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
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"
|
||||
wrksrc="Heimdall-${version}"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libusb-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
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make DESTDIR=${DESTDIR} ${make_install_args} -C heimdall install
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in a new issue