SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "opencl-headers"

# SliTaz package receipt.

PACKAGE="opencl-headers"
VERSION="2024.05.08"
CATEGORY="development"
SHORT_DESC="OpenCL (Open Computing Language) headers"
MAINTAINER="maintainer@slitaz.org"
LICENSE="Apache"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://www.khronos.org/registry/cl/"
WGET_URL="https://github.com/KhronosGroup/OpenCL-Headers/archive/v$VERSION.tar.gz"
BRANCH="v$VERSION"

DEPENDS=""
BUILD_DEPENDS="python3 cmake"

HOST_ARCH="i486 x86_64"

# Rules to configure and make the package.
compile_rules()
{
    mkdir build && cd build
    cmake \
        -DCMAKE_INSTALL_PREFIX=/usr \
    ..

    make
    make install DESTDIR=$install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib $fs/usr/share
    cp -a $install/usr/include $fs/usr
    cp -a $install/usr/share/pkgconfig $fs/usr/lib
    cp -a $install/usr/share/cmake $fs/usr/share
}
6094 packages and 260949 files in current database (Tue Jul 1 20:50:34 2025)