summaryrefslogtreecommitdiffstats
path: root/busybox/Pkgfile
blob: d184b7fcfb04544de4a4aae3fd820273d9c3edd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Description: Permet la construction d'un mini-système idéal pour une initrd ou système embarqué
# URL: http://www.busybox.net/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch

name=busybox
version=1.20.2
release=1
source=(http://busybox.net/downloads/$name-$version.tar.bz2
	config)

build() {
	cd $name-$version
	cp ../config .config
	sed '1,1i#include <sys/resource.h>' -i include/libbb.h
	make menuconfig
	make
	cp .config `prt-get printf %p --filter=$name`/$name/config
	make CONFIG_PREFIX=$PKG install	
}