3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:= 016f49d71bc32eee2b5d11fc1600cfbe
10 PKG_SOURCE_URL
:= @SF
/shfs
11 PKG_SOURCE
:= $(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:= $(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,SHFS_UTILS
,shfs-utils
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
24 $(PKG_BUILD_DIR
)/.built
:
25 rm -rf
$(PKG_INSTALL_DIR
)
26 mkdir
-p
$(PKG_INSTALL_DIR
)
27 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
28 OFLAGS
="$(TARGET_CFLAGS)" \
30 LINKER
="$(TARGET_CC)" \
31 KERNEL
="$(LINUX_VERSION)" \
32 KERNEL_SOURCES
="$(LINUX_DIR)" \
33 ROOT
="$(PKG_INSTALL_DIR)" \
38 install -m0755
-d
$(IDIR_SHFS_UTILS
)/usr
/sbin
39 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/sbin
/shfs
{,u
}mount
$(IDIR_SHFS_UTILS
)/usr
/sbin
/
40 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/sbin
/mount.shfs
$(IDIR_SHFS_UTILS
)/usr
/sbin
/
41 $(RSTRIP
) $(IDIR_SHFS_UTILS
)
42 $(IPKG_BUILD
) $(IDIR_SHFS_UTILS
) $(PACKAGE_DIR
)