SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libclc"

# SliTaz package receipt.

PACKAGE="libclc"
VERSION="13.0.0"
CATEGORY="development"
SHORT_DESC="OpenCL 1.1 libraries"
MAINTAINER="maintainer@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://libclc.llvm.org/"
TARBALL="$PACKAGE-$VERSION.src.tar.xz"
WGET_URL="https://github.com/llvm/llvm-project/releases/download/llvmorg-$VERSION/$TARBALL"

BUILD_DEPENDS="clang spirv-llvm-translator cmake"

# Rules to configure and make the package.
compile_rules()
{
        mkdir build && cd build
        CC=gcc CXX=g++ \
        cmake \
            -DCMAKE_INSTALL_PREFIX=/usr \
            -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_DATADIR=/usr/lib \
            -Wno-dev \
        ..

    make
    make DESTDIR=$install install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
        mkdir -p $fs/usr/lib
    cp -a $install/usr/include          $fs/usr
    cp -a $install/usr/lib/clc          $fs/usr/lib
        cp -a $install/usr/lib/pkgconfig    $fs/usr/lib
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)