summaryrefslogtreecommitdiff
path: root/repo/system/sed.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-20 22:40:49 +0000
committerdavidovski <david@davidovski.xyz>2022-04-20 22:40:49 +0000
commit1084afc3c4d9c83e61620de60ba59a4393a33cb0 (patch)
tree17b2e37df0f1d61a83566fda5f707faffab54628 /repo/system/sed.xibuild
parentc35d083dc525e223b085ec00e6863ea6eafb003c (diff)
fixed create to work within env
Diffstat (limited to 'repo/system/sed.xibuild')
-rw-r--r--repo/system/sed.xibuild18
1 files changed, 7 insertions, 11 deletions
diff --git a/repo/system/sed.xibuild b/repo/system/sed.xibuild
index a5b2297..ddb7102 100644
--- a/repo/system/sed.xibuild
+++ b/repo/system/sed.xibuild
@@ -1,21 +1,17 @@
#!/bin/sh
-MAKEDEPS="make "
+MAKEDEPS="make sort"
DEPS="musl acl attr"
-PKG_VER=4.8
-SOURCE=https://ftp.gnu.org/gnu/sed/sed-$PKG_VER.tar.xz
-DESC="GNU stream editor"
+PKG_VER=0.8.6
+SOURCE=http://landley.net/toybox/downloads/toybox-$PKG_VER.tar.gz
+DESC="stream editor from toybox"
build () {
- ./configure --prefix=/usr
- make
- #make html
+ ./configure
+ make sed
}
package () {
- make DESTDIR=$PKG_DEST install
-
- #install -d -m755 $PKG_DEST/usr/share/doc/sed-$PKG_VER
- #install -m644 doc/sed.html $PKG_DEST/usr/share/doc/sed-$PKG_VER
+ install -Dm755 sed $PKG_DEST/usr/bin/
}