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

MAKEDEPS=(make flex)
DEPS=(glibc)

PKG_VER=1.8
SOURCE=http://libndp.org/files/libndp-$PKG_VER.tar.gz
DESC="A wrapper for IPv6 Neighbor Discovery Protocol"

build () {
    ./configure --prefix=/usr        \
            --sysconfdir=/etc    \
            --localstatedir=/var \
            --disable-static     &&
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}