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

MAKEDEPS="make"
DEPS="musl"

PKG_VER=4.33
SOURCE=http://dist.schmorp.de/libev/Attic/libev-$PKG_VER.tar.gz
ADDITIONAL="
    libev-4.11-Add-pkgconfig-support.patch
"

DESC="Library for applications dealing with netlink sockets"

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

package () {
    make -j1 DESTDIR=$PKG_DEST install 
    rm $PKG_DEST/usr/include/event.h
}