2015-03-15 16:55:07 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - don't build with musl-gcc
|
|
|
|
|
|
|
|
pkgname=busybox
|
2016-03-22 16:04:55 +00:00
|
|
|
pkgver=1.24.2
|
2015-03-23 11:30:00 +00:00
|
|
|
pkgrel=1
|
2015-03-15 16:55:07 +00:00
|
|
|
pkgdesc="Utilities for rescue and embedded systems"
|
|
|
|
arch=("i686" "x86_64")
|
|
|
|
url="http://www.busybox.net"
|
|
|
|
license=('GPL')
|
|
|
|
makedepends=("make" "gcc" "sed" "ncurses")
|
|
|
|
install=busybox.install
|
|
|
|
source=("$url/downloads/$pkgname-$pkgver.tar.bz2"
|
|
|
|
"config"
|
|
|
|
ifplugd.patch)
|
2016-03-22 16:04:55 +00:00
|
|
|
md5sums=('2eaae519cac1143bcf583636a745381f'
|
2015-10-24 19:10:13 +00:00
|
|
|
'86035b9208a5358b885fbf6b87a0735d'
|
2015-03-15 16:55:07 +00:00
|
|
|
'187adc8319e45be12d79e8db2c514d74')
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2015-10-24 19:10:13 +00:00
|
|
|
# patch -p1 <$srcdir/ifplugd.patch
|
2015-03-15 16:55:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
cp $srcdir/config .config
|
|
|
|
sed '1,1i#include <sys/resource.h>' -i include/libbb.h
|
|
|
|
# if you want to run menuconfig uncomment the following line:
|
|
|
|
# make menuconfig ; return 1
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
install -Dm755 busybox $pkgdir/usr/bin/busybox
|
|
|
|
}
|