]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
util-linux-ng: Update package to be built with the new version of the buildsystem.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 3 Sep 2010 18:01:12 +0000 (20:01 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 3 Sep 2010 18:01:12 +0000 (20:01 +0200)
pkgs/core/util-linux-ng/util-linux-ng.nm

index 8c6ba4bfba70fce4106f8669bac9773a4b2f9127..efb421d41fdee367d7d9be259ddcffc0bea07099 100644 (file)
@@ -34,8 +34,7 @@ PKG_URL        = ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng
 PKG_LICENSE    = GPLv2 and GPLv2+ and BSD with advertising and Public Domain
 PKG_SUMMARY    = A collection of basic system utilities.
 
-PKG_BUILD_DEPS+= libcap
-PKG_DEPS      += ncurses pam zlib
+PKG_BUILD_DEPS+= gettext libcap-devel ncurses-devel pam-devel zlib-devel
 
 define PKG_DESCRIPTION
        The util-linux-ng package contains a large variety of low-level system \
@@ -46,6 +45,8 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.bz2
 
+PKG_PACKAGES  += $(PKG_NAME)-devel
+
 CFLAGS        += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 
 CONFIGURE_OPTIONS += \
@@ -83,7 +84,10 @@ define STAGE_INSTALL_CMDS
        touch $(BUILDROOT)/var/log/lastlog
 
        # Remove deprecated commands
-       rm -fv $(BUILDROOT)/{sbin,usr/share/man/man*}/{fsck,mkfs}.{bfs,minix}*
+       rm -fv $(BUILDROOT)/{sbin,usr/share/man/man*}/{fsck,mkfs}.{bfs,minix}* \
+               $(BUILDROOT)/usr/bin/chkdupexe $(BUILDROOT)/usr/bin/vi{gr,pw} \
+               $(BUILDROOT)/sbin/{sln,shutdown} $(BUILDROOT)/bin/{line,newgrp,pg}
+       rm -fv $(BUILDROOT)/usr/share/getopt/*.tcsh
 
        # Set capabilities
        chmod -v -s $(BUILDROOT)/bin/mount