summaryrefslogtreecommitdiff
path: root/community/busybox/PKGBUILD
blob: 27cfb45481596bf13c5af54429557552bf408d5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 44354 2011-04-06 08:52:55Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org>

pkgname=busybox
pkgver=1.18.4
pkgrel=1
pkgdesc="Utilities for rescue and embedded systems"
arch=("i686" "x86_64")
url="http://busybox.net"
license=('GPL')
makedepends=("make" "gcc" "sed" "ncurses")
source=($url/downloads/$pkgname-$pkgver.tar.bz2
	config)
md5sums=('b03c5b46ced732679e525a920a1a62f5'
         '10356174db56da484eb8c43c90aee7b7')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  cp $srcdir/config .config
  # if you want to run menuconfig uncomment the following line:
  # make menuconfig ; return 1
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  mkdir $pkgdir/bin
  install -m755 busybox $pkgdir/bin/
}