# Description: library for applications dealing with netlink sockets
# URL: http://www.infradead.org/~tgr/libnl/
-# Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl
# Packager: Hannes Mayer, kontakt at ecarux dot de
+# Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on:
+
name=libnl
version=1.1
release=1
-source=(http://mirror.slitaz.org/sources/packages/l/$name-$version.tar.gz
- $name-1.1_ulong_max.diff)
+source=(http://mirror.slitaz.org/sources/packages/l/$name-$version.tar.gz \
+ $name-1.1_ulong_max.diff)
build() {
cd $name-$version
patch -p1 -i ../libnl-1.1_ulong_max.diff
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr
- make CC="$CC" AR="$AR" RM="$RM"
+
+ make CC="$CC" AR="$AR"
make DESTDIR=$PKG install
}