summaryrefslogtreecommitdiffstats
path: root/package/libdnet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libdnet/Makefile')
-rw-r--r--package/libdnet/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/libdnet/Makefile b/package/libdnet/Makefile
index e47b34aff..5501b6bd9 100644
--- a/package/libdnet/Makefile
+++ b/package/libdnet/Makefile
@@ -76,9 +76,10 @@ $(STAGING_DIR)/usr/lib/libdnet.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/bin
cp -fpR $(PKG_INSTALL_DIR)/usr/bin/dnet-config $(STAGING_DIR)/usr/bin/
mkdir -p $(STAGING_DIR)/usr/include
- cp -fpR $(PKG_INSTALL_DIR)/usr/include/dnet* $(STAGING_DIR)/usr/include/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/include/dnet.h $(STAGING_DIR)/usr/include/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/include/dnet $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
- cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libdnet.* $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libdnet.{a,so*} $(STAGING_DIR)/usr/lib/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libdnet.so
@@ -86,8 +87,9 @@ install-dev: $(STAGING_DIR)/usr/lib/libdnet.so
uninstall-dev:
rm -rf \
$(STAGING_DIR)/usr/bin/dnet-config \
- $(STAGING_DIR)/usr/include/dnet* \
- $(STAGING_DIR)/usr/lib/libdnet.* \
+ $(STAGING_DIR)/usr/include/dnet.h \
+ $(STAGING_DIR)/usr/include/dnet \
+ $(STAGING_DIR)/usr/lib/libdnet.{a,so*} \
compile: install-dev
clean: uninstall-dev