diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-25 21:00:09 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-25 21:00:09 +0200 |
commit | 6f58e88ce0c721c8954898f81c9fbf8088fcba13 (patch) | |
tree | 43a1464e4175c764e630390dde7dae597691db2a /package/util-linux-ng/Makefile | |
parent | a01131d813946a99aa5206633a524855c3b6f58c (diff) |
update util-linux to util-linux-ng
- disable some packages not usable for mips/rb532
Diffstat (limited to 'package/util-linux-ng/Makefile')
-rw-r--r-- | package/util-linux-ng/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/package/util-linux-ng/Makefile b/package/util-linux-ng/Makefile new file mode 100644 index 000000000..397fdd572 --- /dev/null +++ b/package/util-linux-ng/Makefile @@ -0,0 +1,42 @@ +# 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:= util-linux-ng +PKG_VERSION:= 2.15 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 18c9f263a44db67a73c12caf49b03e22 +PKG_DESCR:= Linux utilities +PKG_SECTION:= admin +PKG_URL:= http://userweb.kernel.org/~kzak/util-linux-ng +PKG_SITES:= ${MASTER_SITE_KERNEL:=utils/util-linux-ng/v2.15/} + +PKG_DESCR_1:= Partition table manipulation utility +PKG_DESCR_2:= Swap space management utilities +PKG_DESCR_3:= Loop devices setup and control utility +PKG_DEPENDS_3:= kmod-loop + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,FDISK,fdisk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_1},${PKG_SECTION})) +$(eval $(call PKG_template,SWAP_UTILS,swap-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_2},${PKG_SECTION})) +$(eval $(call PKG_template,LOSETUP,losetup,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_3},${PKG_DESCR_3},${PKG_SECTION})) + +CONFIGURE_STYLE:= gnu +BUILD_STYLE:= auto +INSTALL_STYLE:= auto +MAKE_FLAGS+= OPT="${TCFLAGS}" ARCH="${ARCH}" +FAKE_FLAGS+= INSTALLSUID="install -m 4755" +TCFLAGS+= -DSWAPON_HAS_TWO_ARGS -DHAVE_LLSEEK + +post-install: + ${INSTALL_DIR} ${IDIR_FDISK}/usr/sbin + ${CP} ${WRKINST}/sbin/fdisk ${IDIR_FDISK}/usr/sbin/ + ${INSTALL_DIR} ${IDIR_LOSETUP}/usr/sbin + ${CP} ${WRKINST}/sbin/losetup ${IDIR_LOSETUP}/usr/sbin/ + ${INSTALL_DIR} ${IDIR_SWAP_UTILS}/usr/sbin + ${CP} ${WRKINST}/sbin/mkswap ${IDIR_SWAP_UTILS}/usr/sbin/ + ${CP} ${WRKINST}/sbin/swap{on,off} ${IDIR_SWAP_UTILS}/usr/sbin/ + +include ${TOPDIR}/mk/pkg-bottom.mk |