pmaports/main/uuu/APKBUILD
Clayton Craft 45fd30fa32 uuu: update to 1.2.91 (!245)
This seems to resolve some issues present on the previous version
2019-03-02 10:43:33 -08:00

28 lines
927 B
Text

pkgname=uuu
pkgver=1.2.91
pkgrel=0
pkgdesc="Universal Update Utility: Freescale/NXP I.MX Chip image deploy tools"
url="https://source.puri.sm/Librem5/mfgtools"
arch="x86_64"
license="BSD"
depends="libusb-compat"
makedepends="libzip-dev libusb-compat-dev libusb-dev bzip2-dev cmake"
source="https://github.com/NXPmicro/mfgtools/archive/${pkgname}_${pkgver}.tar.gz"
options="!check"
builddir="$srcdir"/mfgtools-"$pkgname"_"$pkgver"
build() {
cd "$builddir"
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
mkdir -p "$builddir"/libuuu/gen
echo "#define GIT_VERSION \"libuuu_${pkgver}\"" > "$builddir"/libuuu/gen/gitversion.h
make
DESTDIR="${pkgdir}" make install
}
package() {
cd "$builddir"
make PREFIX=/usr DESTDIR="$pkgdir"/ install
}
sha512sums="f6b576127e7a6ae0ba1e4f4471bacb8df42dcc9555725570b4a3c37e9339907716eddd184179cfc5b96c5bba744c88f572200a71417ba47ead4b374090dfb74a uuu_1.2.91.tar.gz"