busybox.paketlendi

This commit is contained in:
milisbir 2017-11-26 22:24:45 +02:00
parent 834a24c272
commit ad1d01faf0
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# Tanım: UNIX araçlarının hafif hallerinin tek ikilide yer alması
# URL: http://busybox.net/
# Paketçi: milisarge
# Gerekler:
isim=busybox
surum=1.27.2
devir=1
kaynak=(http://busybox.net/downloads/$isim-$surum.tar.bz2)
derle() {
cd $isim-$surum
# https://bugs.gentoo.org/show_bug.cgi?id=310413
export CFLAGS+=' -fno-strict-aliasing'
[ "$CC" ] || CC=gcc
#for i in $SRC/*.patch; do
# patch -p1 -i $i
#done
make defconfig
make CC="$CC"
install -m 0755 -D busybox $PKG/sbin/busybox
make clean
export LDFLAGS+=' -static'
make defconfig
make CC="$CC"
install -m 0755 -D busybox $PKG/sbin/busybox.static
}