SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pciutils"

# SliTaz package receipt.

PACKAGE="pciutils"
VERSION="3.1.8"
CATEGORY="system-tools"
SHORT_DESC="Utilities to list PCI device by name (lspci)."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://mj.ucw.cz/pciutils.html"
WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL"

DEPENDS="glibc-base zlib pciids"
BUILD_DEPENDS="wget"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    make PREFIX=/usr IDSDIR=/usr/share/misc
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $fs/usr
    cp -a $src/lspci $fs/usr/bin
    cp -a $src/setpci $fs/usr/bin
}

# Overlap busybox
pre_install()
{
    rm -f $1/usr/bin/lspci
}

post_remove()
{
    ln -s /bin/busybox $1/usr/bin/lspci
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)