toybox.paketlendi

This commit is contained in:
milisbir 2017-08-09 19:37:31 +03:00
parent 774f6a656a
commit 2feb769066
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# Description: A BSD lisanslı busybox alternatifi
# URL: http://landley.net/toybox/
# Packager: milisarge
# Depends on:
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/"
}