1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
8 PKG_VERSION
:= 5e0c348bd8b1898beb1e043b026bcb0e0c7b0d54
10 PKG_DESCR
:= aufs utilities
(version
3 and above
)
12 PKG_URL
:= http
://aufs.sf.net
/
13 PKG_SITES
:= git
://aufs.git.sourceforge.net
/gitroot
/aufs
/aufs-util
15 PKG_SUBPKGS
:= AUFS_UTIL LIBAU
16 PKGSD_LIBAU
:= aufs userspace library
17 PKGSC_LIBAU
:= libs
/misc
19 include $(ADK_TOPDIR
)/mk
/package.mk
21 $(eval
$(call PKG_template
,AUFS_UTIL
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
22 $(eval
$(call PKG_template
,LIBAU
,libau
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKGSD_LIBAU
),$(PKGSC_LIBAU
)))
25 XAKE_FLAGS
+= Install
=install \
27 CPPFLAGS_FOR_BUILD
="-I$(STAGING_TARGET_DIR)/usr/include -I./libau"
30 $(INSTALL_DIR
) $(IDIR_AUFS_UTIL
)/sbin
31 $(INSTALL_BIN
) $(WRKINST
)/sbin
/{{u
,}mount.aufs
,auplink
} \
32 $(IDIR_AUFS_UTIL
)/sbin
33 $(INSTALL_DIR
) $(IDIR_AUFS_UTIL
)/usr
/bin
34 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/au
{brsync
,chk
} \
35 $(IDIR_AUFS_UTIL
)/usr
/bin
36 $(INSTALL_DIR
) $(IDIR_AUFS_UTIL
)/etc
/default
37 $(INSTALL_DATA
) $(WRKINST
)/etc
/default
/aufs \
38 $(IDIR_AUFS_UTIL
)/etc
/default
41 $(INSTALL_DIR
) $(IDIR_LIBAU
)/usr
/lib
42 $(CP
) $(WRKINST
)/usr
/lib
/libau
* $(IDIR_LIBAU
)/usr
/lib
44 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk