blob: efe46e363b95d1833fb87930d5f4125df11e82dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
SRC_HASH="9d4c124d7d731a2db399f6278baa2b42c2e3511f610c6ad30cc3f1a52581334b"
SRC_NAME="toybox"
SRC_PATCHES="
f4dda4662bead0679256f54b1770faa57c1bfea9462778edf537644d1e5aa3b0 .config
"
SRC_URL="https://landley.net/toybox/downloads/toybox-0.8.13.tar.gz"
SRC_VERSION="0.8.13"
build() {
tar xf ../$SRC_FILENAME
cd toybox-$SRC_VERSION/
# NOTE: make defconfig seems to do more than simply configure toybox. We'll
# run it to set *something* up, then overwrite the configuration with
# what I saved before. ~ahill
make defconfig
cp ../.config .
make -j $TT_PROCS
}
clean() {
rm -rf toybox-$SRC_VERSION/
}
package() {
cd toybox-$SRC_VERSION/
PREFIX=$TT_INSTALLDIR/bin ./scripts/install.sh --symlink
}
|