# Maintainer: Mike Staszel <mikestaszel@openpogo.com>

pkgname=busybox
pkgver=1.14.2
pkgrel=1
pkgdesc='A combination of tiny common UNIX utilties'
arch=('arm')
url='http://www.busybox.net'
license=('GPL')
groups=('small-base')
conflicts=('coreutils' 'e2fsprogs' 'vi' 'findutils' 'procps' 'bash' \
   'syslog-ng' 'bzip2' 'unzip' 'gzip' 'binutils' 'tar' 'grep' 'sed' \
   'awk' 'which' 'ncurses' 'kbd' 'shadow' 'module-init-tools' 'util-linux-ng' \
   'util-linux' 'dosfstools' 'dcron' 'less' 'net-tools')
provides=('coreutils' 'e2fsprogs' 'vi' 'findutils' 'procps' 'bash' \
   'syslog-ng' 'bzip2' 'unzip' 'gzip' 'binutils' 'tar' 'grep' 'sed' 'awk' \
   'which' 'ncurses' 'kbd' 'shadow' 'module-init-tools' 'util-linux-ng' \
   'util-linunx' 'dosfstools' 'dcron' 'less' 'net-tools')
source=(http://www.busybox.net/downloads/${pkgname}-${pkgver}.tar.bz2
		config)
md5sums=('c13b09b4125688d5fca5c95a79bf814a'
		 'cc9546fb89e43c251e4478c223782eab')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}/
  cp ${srcdir}/config .config
  make oldconfig || return 1
  make || return 1
  make install
  cp -r _install/* ${pkgdir}/
}