X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/690c74e1ec97eef33500667dba54e0fee93011dc..6cc48ee631c430ca6ec287ba86936f6c8af86a03:/package/libnl/Makefile diff --git a/package/libnl/Makefile b/package/libnl/Makefile index 9f334108e..ec4ea41fd 100644 --- a/package/libnl/Makefile +++ b/package/libnl/Makefile @@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libnl -PKG_VERSION:=1.0-pre7 +PKG_VERSION:=1.0-pre8 PKG_RELEASE:=1 -PKG_SOURCE:=libnl-1.0-pre7.tar.gz -PKG_SOURCE_URL:=http://www.suug.ch/~tgr/libnl/files/ -PKG_MD5SUM:=db9f6265c370f09defd2d2fa3540758e +PKG_SOURCE:=libnl-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://people.suug.ch/~tgr/libnl/files/ +PKG_MD5SUM:=cc54b3ed25ba45d45a966b9355030810 include $(INCLUDE_DIR)/package.mk @@ -22,7 +22,7 @@ define Package/libnl SECTION:=net CATEGORY:=Base system TITLE:=netlink socket library - URL:=http://www.suug.ch/~tgr/libnl/ + URL:=http://people.suug.ch/~tgr/libnl/ endef define Package/libnl/description @@ -36,16 +36,18 @@ define Build/Compile install endef -define Build/InstallDev +ifneq ($(CONFIG_LINUX_2_6_23),) + define Build/InstallDev + $(INSTALL_DIR) $(1) $(CP) $(PKG_INSTALL_DIR)/* $(1)/ -endef - -define Build/UninstallDev -endef + mkdir -p $(1)/usr/include/libnl + $(CP) $(PKG_BUILD_DIR)/include/linux $(1)/usr/include/libnl/ + endef -define Package/libnl/install + define Package/libnl/install $(INSTALL_DIR) $(1)/usr/lib $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libnl.so.1 $(1)/usr/lib/ -endef + endef +endif $(eval $(call BuildPackage,libnl))