summaryrefslogtreecommitdiff
path: root/package/aufs-util/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:11:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:14:39 +0100
commit3b7e950a2a226d1344e78da8fb10e3cdb92f37a0 (patch)
tree2bda2f5203b3833e77529fe96884d56e69c8fca3 /package/aufs-util/Makefile
parent23cfddf360edbac12473a5c6f9e2d85b12992bb3 (diff)
cleanup phil's submissions
- use () instead of {} in make variables for now - use PKG_HASH instead of PKG_MD5SUM - update to latest upstream versions - use a newline between PKG_* variables and DISTFILES - use <pkgname>-install instead of post-install - use lowercase description texts only - fix some missing PKG_BUILDDEP - elfutils needs argp, which is not available in uClibc-ng, yet - PKG_HASH is not required for git sources
Diffstat (limited to 'package/aufs-util/Makefile')
-rw-r--r--package/aufs-util/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/package/aufs-util/Makefile b/package/aufs-util/Makefile
index e00b5bdde..fc57c7bb6 100644
--- a/package/aufs-util/Makefile
+++ b/package/aufs-util/Makefile
@@ -7,38 +7,38 @@ PKG_NAME:= aufs-util
# branch aufs3.x-rcN (of around June 6th, 2014)
PKG_VERSION:= a0eb20c75c07299bfc50c3d80023e1d22c86b4cc
PKG_RELEASE:= 1
-PKG_HASH:= asdf
PKG_DESCR:= aufs utilities (version 3 and above)
PKG_SECTION:= sys/fs
PKG_URL:= http://aufs.sf.net/
PKG_SITES:= git://aufs.git.sourceforge.net/gitroot/aufs/aufs-util
-PKG_HOST_DEPENDS:= !cygwin !freebsd !openbsd !netbsd
-
PKG_SUBPKGS:= AUFS_UTIL LIBAU
PKGSD_LIBAU:= aufs userspace library
+PKGSC_LIBAU:= libs/misc
include $(ADK_TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,AUFS_UTIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBAU,libau,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBAU},${PKG_SECTION}))
+$(eval $(call PKG_template,AUFS_UTIL,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+$(eval $(call PKG_template,LIBAU,libau,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_LIBAU),$(PKGSC_LIBAU)))
CONFIG_STYLE:= manual
XAKE_FLAGS+= Install=install \
- HOSTCC="${HOST_CC}" \
- CPPFLAGS_FOR_BUILD="-I${STAGING_TARGET_DIR}/usr/include -I./libau"
+ HOSTCC="$(HOST_CC)" \
+ CPPFLAGS_FOR_BUILD="-I$(STAGING_TARGET_DIR)/usr/include -I./libau"
-post-install:
+aufs-util-install:
$(INSTALL_DIR) $(IDIR_AUFS_UTIL)/sbin
- $(INSTALL_BIN) ${WRKINST}/sbin/{{u,}mount.aufs,auplink} \
+ $(INSTALL_BIN) $(WRKINST)/sbin/{{u,}mount.aufs,auplink} \
$(IDIR_AUFS_UTIL)/sbin
$(INSTALL_DIR) $(IDIR_AUFS_UTIL)/usr/bin
- $(INSTALL_BIN) ${WRKINST}/usr/bin/au{brsync,chk} \
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/au{brsync,chk} \
$(IDIR_AUFS_UTIL)/usr/bin
$(INSTALL_DIR) $(IDIR_AUFS_UTIL)/etc/default
- $(INSTALL_DATA) ${WRKINST}/etc/default/aufs \
+ $(INSTALL_DATA) $(WRKINST)/etc/default/aufs \
$(IDIR_AUFS_UTIL)/etc/default
+
+libau-install:
$(INSTALL_DIR) $(IDIR_LIBAU)/usr/lib
- ${CP} ${WRKINST}/usr/lib/libau* ${IDIR_LIBAU}/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libau* $(IDIR_LIBAU)/usr/lib
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk