summaryrefslogtreecommitdiff
path: root/repo/system/sed.xibuild
blob: 1ddd84c383b41b93b4f131080838a48dacca61ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

MAKEDEPS="make "
DEPS="musl acl attr"

PKG_VER=4.8
SOURCE=https://ftp.gnu.org/gnu/sed/sed-$PKG_VER.tar.xz
DESC="GNU stream editor"

build () {
    ./configure --prefix=/usr
    make
    make html
}

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
}