aboutsummaryrefslogtreecommitdiffstats
path: root/core/busybox/APKBUILD
blob: 74a0459b6dbc6a0f5c238467aea88f03b5b2a650 (plain) (blame)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
pkgname=busybox
pkgver=1.12.1
pkgrel=6
pkgdesc="Size optimized toolbox of many common UNIX utilities"
url=http://busybox.net
license=GPL-2
depends=uclibc

source="http://busybox.net/downloads/busybox-1.12.1.tar.bz2
	http://busybox.net/downloads/fixes-1.12.1/busybox-1.12.1-basename.patch
	http://busybox.net/downloads/fixes-1.12.1/busybox-1.12.1-grep.patch
	http://busybox.net/downloads/fixes-1.12.1/busybox-1.12.1-lineedit.patch
	http://busybox.net/downloads/fixes-1.12.1/busybox-1.12.1-login.patch
	http://busybox.net/downloads/fixes-1.12.1/busybox-1.12.1-standalone.patch
	http://busybox.net/downloads/fixes-1.12.1/busybox-1.12.1-vi.patch
	bb-modprobe-v9.diff
	$pkgname-1.12.1-vi-path.patch
	$pkgname-1.11.1-bb.patch
	$pkgname-1.12.0-mdev-exec.patch
	$pkgname-1.12.1-iproute-metric.patch
	busyboxconfig"

build() {
	cd $srcdir/$pkgname-$pkgver

	#patches
	patch -p1 -i ../$pkgname-1.12.1-basename.patch 		|| return 1
	patch -p1 -i ../$pkgname-1.12.1-grep.patch 		|| return 1
	patch -p1 -i ../$pkgname-1.12.1-lineedit.patch 		|| return 1
	patch -p1 -i ../$pkgname-1.12.1-login.patch 		|| return 1
	patch -p1 -i ../$pkgname-1.12.1-standalone.patch 	|| return 1
	patch -p1 -i ../$pkgname-1.12.1-vi.patch 		|| return 1
	patch -p1 -i ../$pkgname-1.12.1-vi-path.patch 		|| return 1
	patch -p1 -i ../$pkgname-1.11.1-bb.patch 		|| return 1
	patch -p0 -i ../$pkgname-1.12.0-mdev-exec.patch 	|| return 1
	patch -p0 -i ../$pkgname-1.12.1-iproute-metric.patch 	|| return 1
	patch -p0 -i ../bb-modprobe-v9.diff			|| return 1

	cp ../busyboxconfig .config
	make silentoldconfig || return 1
	make || return 1
	make install DESTDIR=$pkgdir
}

md5sums="dc2e5e00d6fee8229ae92884c68733a7  busybox-1.12.1.tar.bz2
70fedd0f03d92bceae053904bca11c1d  busybox-1.12.1-basename.patch
76273f1580295a12270dcca0cdeb9a27  busybox-1.12.1-grep.patch
62efeac9a6da03154cfb677935e84c34  busybox-1.12.1-lineedit.patch
9c5d79a7426cfc2b4d7d1f0474d59b75  busybox-1.12.1-login.patch
291c8564e3a25447bbcbfcc6865391cb  busybox-1.12.1-standalone.patch
724e2613f9c9308f24a9c2de504de9a0  busybox-1.12.1-vi.patch
a8aff3962d4481e8b402e739703fbe38  bb-modprobe-v9.diff
f5a8ae3145aa249868c1a1abc319c228  busybox-1.12.1-vi-path.patch
4c0f3b486eaa0674961b7ddcd0c60a9b  busybox-1.11.1-bb.patch
b4ce6235028c2c20fa367375534c3a18  busybox-1.12.0-mdev-exec.patch
54de0abe27e0ad362973be7fa81c487e  busybox-1.12.1-iproute-metric.patch
a0c5e5edabf0a6cc73a2c3ce0ba60d74  busyboxconfig"