aboutsummaryrefslogtreecommitdiffstats
path: root/testing/toybox/APKBUILD
blob: 55c06a35c0a767abe770ef62f6504fbfde433182 (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.2
pkgrel=0
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/toybox/downloads/toybox-$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="345eb38037798d68f6b65e47c5fe1b787e265e83890639773bd2625262d17e4643de870235bc3f114c0eb32593df8a14c1908eda1bc9d9503524c3d4deab8534  toybox-0.8.2.tar.gz"