From ef0397fd284cedfc9e1c94db6f59331f0d11bbae Mon Sep 17 00:00:00 2001 From: Jan-Tarek Butt <buttjantarek@googlemail.com> Date: Mon, 7 Sep 2015 13:37:32 +0200 Subject: [PATCH] prepare Makefile --- libwlocate/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/libwlocate/Makefile b/libwlocate/Makefile index ac46470..0ecd77c 100644 --- a/libwlocate/Makefile +++ b/libwlocate/Makefile @@ -8,13 +8,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libwlocate -PKG_VERSION:=1.2 -PKG_RELEASE:=1 +PKG_VERSION:=1.5 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://dev.ffnw.de/packages -PKG_MD5SUM:=db450fcdf3d1d1f0c85f07bece523c0c +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) include $(INCLUDE_DIR)/package.mk @@ -35,6 +31,11 @@ define Package/libwlocate/description position and data. libwlocate instead bases on the free OpenWLANMap project. endef +define Build/Prepare + mkdir -p $(PKG_BUILD_DIR) + $(CP) ./src/* $(PKG_BUILD_DIR)/ +endef + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_BUILD_DIR)/libwlocate.h $(1)/usr/include/ -- GitLab