aboutsummaryrefslogblamecommitdiffstats
path: root/core/busybox/APKBUILD
blob: d097e0f326f320339b78ab4441e786bfd08c9281 (plain) (tree)
1
2
3
4
5
6
7
8
9

               
        


                                                              
              

                                                           
                                                                               
                                                                           



                                                                                 
                           
                                     








                                            




                                                                           
                                                                           
                                                                           

                                                                           









                                                                           
                                                               
                                                           



                                                                 
                                                     
                                                              


                                                                     
                                                
pkgname=busybox
pkgver=1.12.1
pkgrel=5
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
7ab1fcb3d56cd2babf38429ef079b481  busyboxconfig"