summaryrefslogtreecommitdiff
path: root/repo/sed
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-03 21:31:40 +0100
committerdavidovski <david@davidovski.xyz>2022-06-03 21:31:40 +0100
commit4445f6e15185f58dc599390ab74df3ca19b437b7 (patch)
treeeb6319fa291190eebacf1f018c4058d50d22046a /repo/sed
parent2e4eddedb755f0c0f88450b1fc1d8b0830132a71 (diff)
fixed thunderbird to work
Diffstat (limited to 'repo/sed')
-rw-r--r--repo/sed/sed.xibuild41
1 files changed, 10 insertions, 31 deletions
diff --git a/repo/sed/sed.xibuild b/repo/sed/sed.xibuild
index af15b44..745b893 100644
--- a/repo/sed/sed.xibuild
+++ b/repo/sed/sed.xibuild
@@ -1,39 +1,18 @@
#!/bin/sh
-NAME="sed"
-DESC="GNU stream editor"
+MAKEDEPS="make sort"
+DEPS="musl acl attr"
-MAKEDEPS=" perl"
+PKG_VER=0.8.6
+SOURCE=http://landley.net/toybox/downloads/toybox-$PKG_VER.tar.gz
+DESC="stream editor from toybox"
-PKG_VER=4.8
-#SOURCE="https://ftp.gnu.org/pub/gnu/sed/sed-$PKG_VER.tar.xz"
-SOURCE="https://ftp.heanet.ie/mirrors/ftp.gnu.org/gnu/sed/sed-$PKG_VER.tar.xz"
-
-ADDITIONAL="
-sed.post-deinstall
-"
-
-build() {
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --bindir=/bin \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --disable-i18n \
- --disable-nls
- make
+build () {
+ ./configure
+ make sed
}
-check() {
- make check
-}
-
-package() {
- make DESTDIR="$PKG_DEST" install
-
- rm -rf "$PKG_DEST"/usr/lib/charset.alias || true
- rmdir -p "$PKG_DEST"/usr/lib 2>/dev/null || true
+package () {
+ install -Dm755 sed $PKG_DEST/usr/bin/
}