summaryrefslogtreecommitdiff
path: root/Ports/tinycc/package.sh
blob: d69aa6733ff44538ca4df6a1aeaed5c974e6f4d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env -S bash ../.port_include.sh
port=tinycc
version=dev
files="https://github.com/TinyCC/tinycc/archive/dev.tar.gz tinycc-dev.tar.gz 400f909c1dc2d392efff8279fec1cfdb"
auth_type=md5
useconfigure=true
makeopts=tcc

configure() {
    run ./configure \
        --cross-prefix="${SERENITY_ARCH}-pc-serenity-" \
        --cpu="${SERENITY_ARCH}" \
        --triplet="${SERENITY_ARCH}-pc-serenity" \
        --crtprefix=/usr/lib
}