2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: A BSD lisanslı busybox alternatifi
|
2017-08-09 18:37:31 +02:00
|
|
|
|
# URL: http://landley.net/toybox/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler:
|
2017-08-09 18:37:31 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=toybox
|
|
|
|
|
surum=0.7.4
|
|
|
|
|
devir=1.0
|
|
|
|
|
kaynak=(http://landley.net/toybox/downloads/toybox-$surum.tar.gz)
|
2017-08-09 18:37:31 +02:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd "${SRC}/${isim}-${surum}"
|
2017-08-09 18:37:31 +02:00
|
|
|
|
make menuconfig
|
|
|
|
|
bash scripts/make.sh
|
2017-10-28 14:10:23 +02:00
|
|
|
|
mkdir -p "${PKG}/usr/share/licenses/${isim}"
|
2017-08-09 18:37:31 +02:00
|
|
|
|
mkdir -p "${PKG}/usr/bin"
|
|
|
|
|
PREFIX=${PKG}/usr/toybox/ make install
|
2017-10-28 14:10:23 +02:00
|
|
|
|
install -m755 "${SRC}/${isim}-${surum}/${isim}" "${PKG}/usr/bin/"
|
|
|
|
|
cp "${SRC}/${isim}-${surum}/LICENSE" "${PKG}/usr/share/licenses/toybox/"
|
2017-08-09 18:37:31 +02:00
|
|
|
|
}
|