summaryrefslogtreecommitdiff
path: root/package/aufs2-util/Makefile
blob: e0c69b166f4ede1d2c65e1d4a5abd5ab52bb6a91 (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
29
30
31
32
33
# 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

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}))

MAKE_FLAGS+=		KDIR=${LINUX_DIR}
BUILD_STYLE:=		auto
INSTALL_STYLE:=		auto

do-extract:
	mkdir -p ${WRKBUILD}
	${CP} ./src/* ${WRKBUILD}/

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