Commit | Line | Data |
---|---|---|
e417b583 VM |
1 | # Description: library for applications dealing with netlink sockets |
2 | # URL: http://www.infradead.org/~tgr/libnl/ | |
e417b583 | 3 | # Packager: Hannes Mayer, kontakt at ecarux dot de |
e3df37cd | 4 | # Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl |
e417b583 | 5 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
e3df37cd JB |
6 | # Depends on: |
7 | ||
e417b583 VM |
8 | |
9 | name=libnl | |
10 | version=1.1 | |
11 | release=1 | |
e3df37cd JB |
12 | source=(http://mirror.slitaz.org/sources/packages/l/$name-$version.tar.gz \ |
13 | $name-1.1_ulong_max.diff) | |
e417b583 VM |
14 | |
15 | build() { | |
16 | cd $name-$version | |
17 | patch -p1 -i ../libnl-1.1_ulong_max.diff | |
e3df37cd | 18 | |
e417b583 VM |
19 | ./configure --build=$CHOST \ |
20 | --host=$CTARGET \ | |
21 | --prefix=/usr | |
e3df37cd JB |
22 | |
23 | make CC="$CC" AR="$AR" | |
e417b583 VM |
24 | make DESTDIR=$PKG install |
25 | } |