Skip to content

Instantly share code, notes, and snippets.

@cr0

cr0/Makefile Secret

Created October 25, 2016 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cr0/b0fb149b2a0adcb3846a74f16185fc0e to your computer and use it in GitHub Desktop.
Save cr0/b0fb149b2a0adcb3846a74f16185fc0e to your computer and use it in GitHub Desktop.
Makefile for mergerfs in openwrt
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=mergerfs
PKG_VERSION:=2.16.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/trapexit/mergerfs/archive/
PKG_MD5SUM:=1ae6e3ca40d23e70fb2719135ba7c961
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/mergerfs
SECTION:=utils
CATEGORY:=Filesystem
TITLE:=A FUSE based union filesystem
URL:=https://github.com/trapexit/mergerfs
DEPENDS+= +kmod-fuse +libfuse +libpthread
endef
define Package/mergerfs/description
mergerfs is a union filesystem geared towards simplifying storage and management of files across numerous commodity storage devices. It is similar to mhddfs, unionfs, and aufs.
endef
$(eval $(call BuildPackage,mergerfs))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment