summaryrefslogtreecommitdiff
path: root/package/aufs2-util/Makefile
blob: c414a1ca28873950127606a89899420135d9798d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		aufs2-util
PKG_VERSION:=		130809
PKG_RELEASE:=		1
PKG_DESCR:=		aufs2 utilities
PKG_SECTION:=		admin
PKG_URL:=		http://aufs.sf.net/
PKG_HOST_DEPENDS:=	!cygwin !freebsd !openbsd !netbsd

NO_DISTFILES:=		1

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,AUFS_UTIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=		manual
MAKE_FLAGS+=		KDIR=${LINUX_DIR}

post-install:
	$(INSTALL_DIR) $(IDIR_AUFS_UTIL)/sbin
	$(INSTALL_BIN) ${WRKINST}/sbin/{u,}mount.aufs \
		$(IDIR_AUFS_UTIL)/sbin

include ${TOPDIR}/mk/pkg-bottom.mk