X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0a49020502654605b7c4bc6f2eb2e745998914af..71d6652e39edfb3381f0eed8928c648deea83b6a:/package/fuse24/Makefile?ds=inline diff --git a/package/fuse24/Makefile b/package/fuse24/Makefile index ce3a9a01f..0604bd3a8 100644 --- a/package/fuse24/Makefile +++ b/package/fuse24/Makefile @@ -11,15 +11,11 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=fuse PKG_VERSION:=2.5.3 -PKG_RELEASE:=1 +PKG_RELEASE:=3 PKG_MD5SUM:=9c7e8b6606b9f158ae20b8521ba2867c PKG_SOURCE_URL:=@SF/$(PKG_NAME) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_CAT:=zcat - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install include $(INCLUDE_DIR)/package.mk @@ -52,7 +48,9 @@ endef define KernelPackage/fuse24/install $(call $(Package/kmod-fuse24/install)) - echo mknod /dev/fuse -m 0666 c 10 229 >> $(1)/CONTROL/postinst + $(INSTALL_DIR) $(1)/etc/init.d + # symlinks /dev/misc/fuse to /dev/fuse on startup + $(INSTALL_BIN) ./files/fuse24.init $(1)/etc/init.d/fuse24 endef define Build/Configure @@ -111,13 +109,10 @@ endef define Build/InstallDev mkdir -p $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/fuse{,.h} $(1)/usr/include/ -# mkdir -p $(1)/usr/lib -# $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfuse.{a,so*} $(1)/usr/lib/ mkdir -p $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/fuse.pc $(1)/usr/lib/pkgconfig/ $(SED) 's,-I$$$${includedir}/fuse,,g' $(1)/usr/lib/pkgconfig/fuse.pc $(SED) 's,-L$$$${libdir},,g' $(1)/usr/lib/pkgconfig/fuse.pc - #echo mknod /dev/fuse -m 0666 c 10 229 >> $(PKG_BUILD_DIR)/ipkg/kmod-fuse24/CONTROL/postinst endef $(eval $(call KernelPackage,fuse24))