aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libnl-tiny/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/libnl-tiny/Makefile')
-rw-r--r--package/libs/libnl-tiny/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/package/libs/libnl-tiny/Makefile b/package/libs/libnl-tiny/Makefile
index cabbb08421..0536c6b73e 100644
--- a/package/libs/libnl-tiny/Makefile
+++ b/package/libs/libnl-tiny/Makefile
@@ -8,8 +8,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libnl-tiny
-PKG_VERSION:=0.1
-PKG_RELEASE:=5
+PKG_RELEASE:=1
+
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL=$(PROJECT_GIT)/project/libnl-tiny.git
+PKG_SOURCE_DATE:=2017-11-16
+PKG_SOURCE_VERSION:=8ee5f3a4023f822d1c916bb2b5e845d3597ac674
+PKG_MIRROR_HASH:=e3dd137d69848b8cf2dbc58d70452586dd4178b55977896ea3a9dedaf62c768c
PKG_LICENSE:=LGPL-2.1
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
@@ -29,7 +34,7 @@ endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
+ $(MAKE) -C $(PKG_BUILD_DIR)/src \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
all
@@ -37,14 +42,14 @@ endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(1)/usr/include/libnl-tiny
- $(CP) $(PKG_BUILD_DIR)/include/* $(1)/usr/include/libnl-tiny
- $(CP) $(PKG_BUILD_DIR)/libnl-tiny.so $(1)/usr/lib/
- $(CP) ./files/libnl-tiny.pc $(1)/usr/lib/pkgconfig
+ $(CP) $(PKG_BUILD_DIR)/src/include/* $(1)/usr/include/libnl-tiny
+ $(CP) $(PKG_BUILD_DIR)/src/libnl-tiny.so $(1)/usr/lib/
+ $(CP) $(PKG_BUILD_DIR)/files/libnl-tiny.pc $(1)/usr/lib/pkgconfig
endef
define Package/libnl-tiny/install
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_BUILD_DIR)/libnl-tiny.so $(1)/usr/lib/
+ $(CP) $(PKG_BUILD_DIR)/src/libnl-tiny.so $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libnl-tiny))