SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "device-tree-compiler"

# SliTaz package receipt.

PACKAGE="device-tree-compiler"
SOURCE="dtc"
VERSION="1.6.1"
CATEGORY="development"
SHORT_DESC="Device Tree Compiler"
MAINTAINER="shann@tank.slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.devicetree.org/"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://cdn.kernel.org/pub/software/utils/dtc/$TARBALL"

DEPENDS=""
BUILD_DEPENDS="meson python3-dev python3-setuptools swig"

# Rules to configure and make the package.
compile_rules()
{
    cd $src

    mkdir build && cd build
    meson .. \
        --buildtype=release \
        --prefix=/usr \
        --libdir=/usr/lib \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        --localstatedir=/var \
        --sysconfdir=/etc

    ninja
    DESTDIR=$install ninja install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)