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