CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libnl: cleanup and removed $RM which is only used in distclean stage in the Makefile
[attic/ports/opt-cross.git] / libnl / Pkgfile
... / ...
CommitLineData
1# Description: library for applications dealing with netlink sockets
2# URL: http://www.infradead.org/~tgr/libnl/
3# Packager: Hannes Mayer, kontakt at ecarux dot de
4# Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl
5# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6# Depends on:
7
8
9name=libnl
10version=1.1
11release=1
12source=(http://mirror.slitaz.org/sources/packages/l/$name-$version.tar.gz \
13 $name-1.1_ulong_max.diff)
14
15build() {
16 cd $name-$version
17 patch -p1 -i ../libnl-1.1_ulong_max.diff
18
19 ./configure --build=$CHOST \
20 --host=$CTARGET \
21 --prefix=/usr
22
23 make CC="$CC" AR="$AR"
24 make DESTDIR=$PKG install
25}