mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
41 lines
1 KiB
Bash
41 lines
1 KiB
Bash
# $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
|
|
pkgver=1.24.1
|
|
pkgrel=1
|
|
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)
|
|
md5sums=('be98a40cadf84ce2d6b05fa41a275c6a'
|
|
'86035b9208a5358b885fbf6b87a0735d'
|
|
'187adc8319e45be12d79e8db2c514d74')
|
|
|
|
prepare() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
# patch -p1 <$srcdir/ifplugd.patch
|
|
}
|
|
|
|
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
|
|
}
|