summaryrefslogtreecommitdiff
path: root/repo/system/sed.xibuild
diff options
context:
space:
mode:
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/
}