From: Florian Fainelli Date: Fri, 8 Feb 2008 15:00:34 +0000 (+0000) Subject: Cleanup makefile X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=460a10447469aa8bee370282f2c5603e58317877;p=openwrt%2Fsvn-archive%2Fpackages.git Cleanup makefile SVN-Revision: 10420 --- diff --git a/libs/libnetfilter-queue/Makefile b/libs/libnetfilter-queue/Makefile index e008c2ffc..1997b20b5 100644 --- a/libs/libnetfilter-queue/Makefile +++ b/libs/libnetfilter-queue/Makefile @@ -17,7 +17,7 @@ PKG_MD5SUM:=660cbfd3dc8c10bf9b1803cd2b688256 include $(INCLUDE_DIR)/package.mk -define Package/libnetfilter_queue +define Package/libnetfilter-queue SECTION:=libs CATEGORY:=Libraries DEPENDS:=@LINUX_2_6 +libnfnetlink @@ -25,7 +25,7 @@ define Package/libnetfilter_queue URL:=http://www1.cs.columbia.edu/~angelos/libnetfilter_queue.html endef -define Package/libnetfilter_queue/description +define Package/libnetfilter-queue/description libnetfilter_queue is a userspace library providing an API to packets that have been queued by the kernel packet filter. It is is part of a system that deprecates the old ip_queue / libipq mechanism. @@ -42,9 +42,6 @@ MAKE_FLAGS += \ define Build/Compile - # with dynamic linking fail on undefined symbols - #$(SED) 's@nfqnl_test_LDFLAGS = -dynamic@nfqnl_test_LDFLAGS = -lnfnetlink@' $(PKG_BUILD_DIR)/utils/Makefile.am - # pass CFLAGS again to override -O2 set by configure $(MAKE) -C $(PKG_BUILD_DIR) \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ @@ -65,9 +62,9 @@ define Build/UninstallDev $(1)/usr/lib/libnetfilter_queue.{a,so*} endef -define Package/libnetfilter_queue/install +define Package/libnetfilter-queue/install $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnetfilter_queue* $(1)/usr/lib/ endef -$(eval $(call BuildPackage,libnetfilter_queue)) +$(eval $(call BuildPackage,libnetfilter-queue))