summaryrefslogtreecommitdiff
path: root/Ports/make/make.sh
blob: ff8569975b3fd72784c1b515a6234a56509fb606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
PORT_DIR=make
fetch() {
    run_fetch_web "https://ftp.gnu.org/gnu/make/make-4.2.tar.bz2"

    run_patch make-4.2-serenity.patch -p1
}

configure() {
    run_configure_autotools \
        --target=i686-pc-serenity \
        --with-sysroot=/
}
build() {
    run_make
}
install() {
    run_make_install DESTDIR="$SERENITY_ROOT"/Root
}
. ../.port_include.sh