You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
112 lines
2.7 KiB
112 lines
2.7 KiB
19 years ago
|
#
|
||
15 years ago
|
# Copyright (C) 2006-2010 OpenWrt.org
|
||
19 years ago
|
#
|
||
|
# This is free software, licensed under the GNU General Public License v2.
|
||
|
# See /LICENSE for more information.
|
||
|
#
|
||
19 years ago
|
|
||
|
include $(TOPDIR)/rules.mk
|
||
19 years ago
|
include $(INCLUDE_DIR)/kernel.mk
|
||
19 years ago
|
|
||
|
PKG_NAME:=fuse
|
||
13 years ago
|
PKG_VERSION:=2.9.0
|
||
12 years ago
|
PKG_RELEASE:=2
|
||
19 years ago
|
|
||
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||
18 years ago
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
||
13 years ago
|
PKG_MD5SUM:=894ee11674f89a915ae87524aed55bc4
|
||
15 years ago
|
|
||
12 years ago
|
PKG_LICENSE:=LGPLv2.1 GPLv2
|
||
|
PKG_LICENSE_FILES:=COPYING.LIB COPYING
|
||
|
|
||
15 years ago
|
PKG_INSTALL:=1
|
||
|
|
||
19 years ago
|
include $(INCLUDE_DIR)/package.mk
|
||
19 years ago
|
|
||
18 years ago
|
define Package/fuse/Default
|
||
|
TITLE:=FUSE
|
||
|
URL:=http://fuse.sourceforge.net/
|
||
|
endef
|
||
|
|
||
17 years ago
|
define Package/fuse/Default/description
|
||
|
FUSE (Filesystem in UserSpacE)
|
||
|
endef
|
||
|
|
||
18 years ago
|
define Package/fuse-utils
|
||
17 years ago
|
$(call Package/fuse/Default)
|
||
18 years ago
|
SECTION:=utils
|
||
|
CATEGORY:=Utilities
|
||
16 years ago
|
DEPENDS:=+libfuse
|
||
18 years ago
|
TITLE+= (utilities)
|
||
16 years ago
|
SUBMENU:=Filesystem
|
||
17 years ago
|
endef
|
||
|
|
||
|
define Package/fuse-utils/description
|
||
|
$(call Package/fuse/Default/description)
|
||
15 years ago
|
This package contains the FUSE utilities.
|
||
|
- fusermount
|
||
|
- ulockmgr_server
|
||
18 years ago
|
endef
|
||
|
|
||
|
define Package/libfuse
|
||
17 years ago
|
$(call Package/fuse/Default)
|
||
18 years ago
|
SECTION:=libs
|
||
|
CATEGORY:=Libraries
|
||
|
TITLE+= (library)
|
||
12 years ago
|
DEPENDS:=+kmod-fuse +libpthread
|
||
16 years ago
|
SUBMENU:=Filesystem
|
||
17 years ago
|
endef
|
||
|
|
||
|
define Package/libfuse/description
|
||
|
$(call Package/fuse/Default/description)
|
||
15 years ago
|
This package contains the FUSE shared libraries, needed by other programs.
|
||
|
- libfuse
|
||
|
- libulockmgr
|
||
19 years ago
|
endef
|
||
|
|
||
15 years ago
|
# generic args
|
||
18 years ago
|
CONFIGURE_ARGS += \
|
||
|
--enable-shared \
|
||
|
--enable-static \
|
||
|
--disable-rpath \
|
||
|
--disable-example \
|
||
15 years ago
|
--disable-mtab
|
||
15 years ago
|
|
||
|
# generic package uses lib & utils
|
||
|
CONFIGURE_ARGS += --enable-lib --enable-util
|
||
|
|
||
19 years ago
|
define Build/InstallDev
|
||
15 years ago
|
@echo "--> Build/InstallDev enter"
|
||
17 years ago
|
mkdir -p $(1)/usr/include
|
||
15 years ago
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/{fuse,*.h} $(1)/usr/include/
|
||
17 years ago
|
mkdir -p $(1)/usr/lib
|
||
15 years ago
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{a,so*} $(1)/usr/lib/
|
||
17 years ago
|
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
|
||
15 years ago
|
@echo "--> Build/InstallDev leave"
|
||
19 years ago
|
endef
|
||
|
|
||
18 years ago
|
define Package/fuse-utils/install
|
||
15 years ago
|
@echo "--> Package/fuse-utils/install enter"
|
||
18 years ago
|
$(INSTALL_DIR) $(1)/usr/bin
|
||
15 years ago
|
# use cp and keep fusermount sticky bit
|
||
|
$(FIND) $(PKG_INSTALL_DIR)/usr/bin/ -type f -exec $(CP) -a {} $(1)/usr/bin/ \;
|
||
|
@echo "--> Package/fuse-utils/install leave"
|
||
18 years ago
|
endef
|
||
|
|
||
|
define Package/libfuse/install
|
||
15 years ago
|
@echo "--> Package/libfuse/install enter"
|
||
18 years ago
|
$(INSTALL_DIR) $(1)/usr/lib
|
||
15 years ago
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/
|
||
|
@echo "--> Package/libfuse/install leave"
|
||
|
endef
|
||
|
|
||
|
define Package/kmod-fuse/install
|
||
|
@echo "--> Package/kmod-fuse/install enter/leave"
|
||
18 years ago
|
endef
|
||
|
|
||
|
$(eval $(call BuildPackage,fuse-utils))
|
||
|
$(eval $(call BuildPackage,libfuse))
|