summaryrefslogtreecommitdiff
path: root/package/util-linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-17 12:18:01 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-17 12:18:50 +0200
commit757783189ad3868607cbf7fa54a6a80dad055ad1 (patch)
tree94386a4249038857397e77c27901d6c7e7af9010 /package/util-linux
parent0780d58803e4efe7b64a36d8511e0564ca343d6f (diff)
fix lvm build, remove util-linux hackish way to generate pc files
Diffstat (limited to 'package/util-linux')
-rw-r--r--package/util-linux/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile
index f9abd41ac..c2efd5145 100644
--- a/package/util-linux/Makefile
+++ b/package/util-linux/Makefile
@@ -5,13 +5,12 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= util-linux
PKG_VERSION:= 2.24.2
-PKG_RELEASE:= 3
+PKG_RELEASE:= 4
PKG_MD5SUM:= 3f191727a0d28f7204b755cf1b6ea0aa
PKG_DESCR:= basic utilities
PKG_SECTION:= base/apps
-PKG_BUILDDEP:= ncurses pam
+PKG_BUILDDEP:= autotool ncurses pam
PKG_SITES:= http://www.kernel.org/pub/linux/utils/util-linux/v2.24/
-PKG_NOPARALLEL:= 1
PKG_OPTS:= dev
PKG_ARCH_DEPENDS:= !m68k
@@ -59,6 +58,7 @@ $(eval $(call PKG_template,LIBMOUNT,libmount,${PKG_VERSION}-${PKG_RELEASE},${PKG
TARGET_CFLAGS+= -DSWAPON_HAS_TWO_ARGS -DHAVE_LLSEEK
TARGET_LDFLAGS+= -ltinfo
+AUTOTOOL_STYLE:= autoreconf
CONFIGURE_ENV+= have_scanf_alloc_modifier=yes \
scanf_cv_alloc_modifier=ms
CONFIGURE_ARGS+= --disable-use-tty-group \
@@ -71,30 +71,29 @@ CONFIGURE_ARGS+= --disable-use-tty-group \
--enable-libblkid \
--enable-libmount \
--enable-mount \
- --with-ncurses=$(STAGING_TARGET_DIR)/usr/include \
- --libdir=/usr/lib
+ --with-ncurses=$(STAGING_TARGET_DIR)/usr/include
FAKE_FLAGS+= INSTALLSUID="install -m 4755"
fdisk-install:
${INSTALL_DIR} ${IDIR_FDISK}/usr/sbin
- ${CP} ${WRKINST}/sbin/fdisk ${IDIR_FDISK}/usr/sbin
+ ${CP} ${WRKINST}/usr/sbin/fdisk ${IDIR_FDISK}/usr/sbin
cfdisk-install:
${INSTALL_DIR} ${IDIR_CFDISK}/usr/sbin
- ${CP} ${WRKINST}/sbin/cfdisk ${IDIR_FDISK}/usr/sbin
+ ${CP} ${WRKINST}/usr/sbin/cfdisk ${IDIR_FDISK}/usr/sbin
sfdisk-install:
${INSTALL_DIR} ${IDIR_SFDISK}/usr/sbin
- ${CP} ${WRKINST}/sbin/sfdisk ${IDIR_SFDISK}/usr/sbin
+ ${CP} ${WRKINST}/usr/sbin/sfdisk ${IDIR_SFDISK}/usr/sbin
losetup-install:
${INSTALL_DIR} ${IDIR_LOSETUP}/usr/sbin
- ${CP} ${WRKINST}/sbin/losetup ${IDIR_LOSETUP}/usr/sbin
+ ${CP} ${WRKINST}/usr/sbin/losetup ${IDIR_LOSETUP}/usr/sbin
swap-utils-install:
${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
+ ${CP} ${WRKINST}/usr/sbin/mkswap ${IDIR_SWAP_UTILS}/usr/sbin
+ ${CP} ${WRKINST}/usr/sbin/swap{on,off} ${IDIR_SWAP_UTILS}/usr/sbin
mount-install:
${INSTALL_DIR} ${IDIR_MOUNT}/bin