# SliTaz package receipt. PACKAGE="libepoxy" VERSION="1.5.5" CATEGORY="x-window" SHORT_DESC="Library for handling OpenGL function pointer management" MAINTAINER="al.bobylev@gmail.com" LICENSE="MIT" WEB_SITE="https://github.com/anholt/libepoxy/" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://github.com/anholt/libepoxy/releases/download/$VERSION/$TARBALL" BUILD_DEPENDS="python3-setuptools meson ninja xorg-libX11-dev mesa-dev" # Rules to configure and make the package. compile_rules() { cd $src mkdir build && cd build meson --prefix=/usr \ .. && ninja && ninja install || return 1 } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }