allow for uclibc-ng
[openadk.git] / package / libmnl / Makefile
blob215be0e07a481962110044bf42b5783c6bdf7a5c
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= libmnl
7 PKG_VERSION:= 1.0.3
8 PKG_RELEASE:= 2
9 PKG_HASH:= 6f14336e9acdbc62c2dc71bbb59ce162e54e9af5c80153e92476c5443fe784de
10 PKG_DESCR:= minimalistic user-space library oriented to netlink developers
11 PKG_SECTION:= libs/net
12 PKG_URL:= http://www.netfilter.org/projects/libmnl/
13 PKG_SITES:= http://www.netfilter.org/projects/libmnl/files/
14 PKG_OPTS:= dev
16 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,LIBMNL,libmnl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
22 libmnl-install:
23 $(INSTALL_DIR) $(IDIR_LIBMNL)/usr/lib
24 $(CP) $(WRKINST)/usr/lib/libmnl.so* $(IDIR_LIBMNL)/usr/lib
26 include ${ADK_TOPDIR}/mk/pkg-bottom.mk