summaryrefslogtreecommitdiff
path: root/repo/system/sed.xibuild
blob: 349f34500c193b8004e8d7da3eeff365bdb77fbc (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="glibc 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
}