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

NAME="c-ares"
DESC="An asynchronously DNS/names resolver library"

MAKEDEPS="make "
DEPS="musl "

PKG_VER=1.18.1
SOURCE="https://c-ares.haxx.se/download/c-ares-$PKG_VER.tar.gz"

build () {
    ./configure \
        --prefix=/usr \
        --bindir=/usr/bin \
        --sysconfdir=/etc \
        --disable-static
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}