SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "util-linux-ng"

# SliTaz package receipt.

PACKAGE="util-linux-ng"
VERSION="2.19.1"
CATEGORY="meta"
SHORT_DESC="Util linux new generation (Meta package to build utility ans libs)."
MAINTAINER="pankso@slitaz.org"
SOURCE="util-linux"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
WGET_URL="http://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.19/$TARBALL"
COOK_OPT="!fs"
LOCALE=""

DEPENDS=""
BUILD_DEPENDS="ncurses-dev zlib-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    # fix findmnt
    patch -p1 -i $stuff/fix-findmnt.patch
    # fix cfdisk partition changing, included in next upstream release
    patch -p1 -i $stuff/util-linux-ng-cfdisk.patch

    if ! grep 'tty:x:4:' /etc/group; then
        addgroup -g 4 tty
    fi
    grep -qs 'define u8' fdisk/fdisksunlabel.c ||
    sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' fdisk/fdisksunlabel.c
    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --with-fsprobe=builtin \
        --enable-partx \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)