PKGBUILDs/community/busybox/PKGBUILD
2009-10-09 21:15:33 -05:00

27 lines
768 B
Bash

# $Id: PKGBUILD 3559 2009-10-05 20:05:40Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org>
pkgname=busybox
pkgver=1.15.1
pkgrel=1
pkgdesc="Utilities for rescue and embedded systems"
arch=("i686" "x86_64")
url="http://busybox.net"
license=('GPL')
makedepends=("make" "gcc" "sed" "ncurses")
options=()
source=($url/downloads/$pkgname-$pkgver.tar.bz2 \
config)
md5sums=('e67a98eef14212abfc265092e4683fbe'
'570455620c867034fdb35965b6304c0f')
build() {
cd "$srcdir/$pkgname-$pkgver"
cp $srcdir/config .config
# if you want to run menuconfig uncomment the following line:
# make menuconfig ; return 1
make || return 1
mkdir $pkgdir/bin
install -m755 busybox $pkgdir/bin/
}