summaryrefslogtreecommitdiff
path: root/repo/system/libndp.xibuild
blob: ddb4da2dcba572688e95a9ceee07961ed605bbd0 (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 )
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
}