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
|
|
|
|
|
|
|
|
|
name=toybox
|
|
|
|
|
version=0.7.4
|
|
|
|
|
release=1.0
|
|
|
|
|
source=(http://landley.net/toybox/downloads/toybox-$version.tar.gz)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd "${SRC}/${name}-${version}"
|
|
|
|
|
make menuconfig
|
|
|
|
|
bash scripts/make.sh
|
|
|
|
|
mkdir -p "${PKG}/usr/share/licenses/${name}"
|
|
|
|
|
mkdir -p "${PKG}/usr/bin"
|
|
|
|
|
PREFIX=${PKG}/usr/toybox/ make install
|
|
|
|
|
install -m755 "${SRC}/${name}-${version}/${name}" "${PKG}/usr/bin/"
|
|
|
|
|
cp "${SRC}/${name}-${version}/LICENSE" "${PKG}/usr/share/licenses/toybox/"
|
|
|
|
|
}
|