aboutsummaryrefslogtreecommitdiffstats
path: root/testing/toybox/APKBUILD
blob: 21a7867ca362084cbdfc7d7f2612aca1b14f552b (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
28
29
30
31
# Maintainer: André Klitzing <aklitzing@gmail.com>
# Contributor: André Klitzing <aklitzing@gmail.com>
pkgname=toybox
pkgver=0.8.1
pkgrel=1
pkgdesc="A BSD-licensed alternative to busybox"
arch="all"
license="0BSD"
url="https://landley.net/toybox/"
depends="attr"
makedepends="bash linux-headers"
source="https://landley.net/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz"

build() {
	scripts/genconfig.sh
	make defconfig
	make
}

check() {
	make test
}

package() {
	#chmod 755 toybox
	#make PREFIX="$pkgdir" install

	install -Dm755 toybox "$pkgdir"/bin/toybox
}

sha512sums="22f91046c75f986e44927ec89feab6c6afa1f614e5b0eae73e43f6ccd5c4328991ad283858fb1a5cb4d697806f38b8ab81782c160860a2c34ecbef3885636d5e  toybox-0.8.1.tar.gz"