From 2feb769066e72e2c732125552dba935b445628f8 Mon Sep 17 00:00:00 2001 From: milisbir Date: Wed, 9 Aug 2017 19:37:31 +0300 Subject: [PATCH] toybox.paketlendi --- talimatname/genel/toybox/talimat | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 talimatname/genel/toybox/talimat diff --git a/talimatname/genel/toybox/talimat b/talimatname/genel/toybox/talimat new file mode 100644 index 000000000..a91278d2a --- /dev/null +++ b/talimatname/genel/toybox/talimat @@ -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/" +}