wok annotate libdrm/receipt @ rev 23917

created recipes for lua-ffi and lua-posix
author Hans-G?nter Theisgen
date Wed Aug 19 09:11:10 2020 +0100 (2020-08-19)
parents 5e220c8b5afe
children 5d79829fa876
rev   line source
pankso@3006 1 # SliTaz package receipt.
pankso@3006 2
pankso@3006 3 PACKAGE="libdrm"
Hans-G?nter@23021 4 VERSION="2.4.100"
pankso@3006 5 CATEGORY="x-window"
pankso@3006 6 SHORT_DESC="Freedesktop DRM Library."
pankso@3006 7 MAINTAINER="pankso@slitaz.org"
pascal@15472 8 LICENSE="MIT"
Hans-G?nter@21169 9 WEB_SITE="https://dri.freedesktop.org/"
Hans-G?nter@21169 10
pankso@3006 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@21169 12 WGET_URL="$WEB_SITE/$PACKAGE/$TARBALL"
Hans-G?nter@21169 13
Hans-G?nter@21169 14 DEPENDS="glibc-base linux-drm udev xorg-libpciaccess"
Hans-G?nter@21169 15 BUILD_DEPENDS="gc-dev libpthread-stubs-dev pkg-config \
Hans-G?nter@21169 16 udev-dev xorg-libpciaccess-dev"
Hans-G?nter@21169 17 #xorg-dev xorg-dev-proto
Hans-G?nter@23021 18
pankso@16342 19 HOST_ARCH="i486 arm"
pankso@3006 20
pankso@3006 21 # Rules to configure and make the package.
pankso@3006 22 compile_rules()
pankso@12528 23 {
Hans-G?nter@21169 24 ./configure \
Hans-G?nter@21169 25 --enable-intel \
Hans-G?nter@23021 26 --enable-nouveau-experimental-api \
Hans-G?nter@21169 27 --enable-radeon \
Hans-G?nter@23021 28 --enable-udev \
Hans-G?nter@21169 29 --enable-vmwgfx-experimental-api \
pankso@12528 30 $CONFIGURE_ARGS &&
Hans-G?nter@21169 31 make -j 1 &&
Hans-G?nter@21169 32 make install
pankso@3006 33 }
pankso@3006 34
pankso@3006 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3006 36 genpkg_rules()
pankso@3006 37 {
pankso@3006 38 mkdir -p $fs/usr/lib
Hans-G?nter@21169 39
Hans-G?nter@21169 40 cp -a $install/usr/lib/libdrm.so* $fs/usr/lib
Hans-G?nter@21169 41 cp -a $install/usr/lib/libkms*.so* $fs/usr/lib
pankso@3006 42 }