blob: 821369669aed597ccf63385e677b4e8ab3fafdb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Contributor: Daniel Santana <daniel@santana.tech>
# Maintainer: Daniel Santana <daniel@santana.tech>
pkgname=meson-tools
pkgver=0.1
pkgrel=0
pkgdesc="Tools for Amlogic Meson ARM platforms"
url="https://github.com/afaerber/meson-tools"
arch="all"
license="GPL-2.0-or-later"
makedepends_host="openssl-dev"
subpackages="$pkgname-doc"
options="!check" # no tests provided
source="$pkgname-$pkgver.tar.gz::https://github.com/afaerber/meson-tools/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
sed -i 's/lcrypto/lcrypto -lc/' Makefile
make CFLAGS="$CFLAGS -g" LDFLAGS="$LDFLAGS -lcrypto"
}
package() {
install -d "$pkgdir/usr/bin"
install -m755 amlbootsig unamlbootsig amlinfo "$pkgdir/usr/bin"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
sha512sums="4037dda5f2cb1e339728dd4ab59533bbd99e3cffa116dbd3472853f8454564168b3d7460c78f9738caec585a3885844174945043c682584aa5bfc8e7eee28667 meson-tools-0.1.tar.gz"
|