core/mkinitcpio-busybox/PKGBUILD
Phil d0c9bc2edf filesystem: bump to 2011.11.0
initscripts: dito
linux-firmware: update firmwares
mkinitcpio: bump to 0.7.5
udev: bump to 174 - update rules
2011-11-01 10:22:29 +00:00

37 lines
980 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=mkinitcpio-busybox
pkgver=1.19.2
pkgrel=1
pkgdesc="base initramfs tools"
arch=('i686' 'x86_64')
url="http://www.busybox.net/"
license=('GPL')
depends=('glibc')
options=()
source=("http://busybox.net/downloads/busybox-$pkgver.tar.bz2"
'config')
sha256sums=('ea7ec9b6df70b8c528f4a2b6300e9913431c7223308fb08dfafa7508d75a0cb9'
'21ae2cd21e33ba1ef9500a9b14273579fc554bf995cfd7907fb3fe94fc162cf8')
build() {
cd "$srcdir/busybox-$pkgver"
local safeflags="${CARCH/_/-} -mtune=generic -Os -pipe -fno-strict-aliasing"
sed 's|^\(CONFIG_EXTRA_CFLAGS\)=.*|\1="-march='"$safeflags"'"|' \
"$srcdir/config" > .config
make
}
package() {
install -Dm755 "$srcdir/busybox-$pkgver/busybox" "$pkgdir/lib/initcpio/busybox"
}
# vim:set ts=2 sw=2 et: