wok-6.x annotate libdrm/receipt @ rev 24124
updated transfig (3.2.5d -> 3.2.8b)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 06 10:26:09 2021 +0100 (2021-10-06) |
parents | 13e5cfabe816 |
children |
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 |
pascal@24072 | 21 current_version() |
pascal@24072 | 22 { |
pascal@24072 | 23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 24 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 25 } |
pascal@24072 | 26 |
pankso@3006 | 27 # Rules to configure and make the package. |
pankso@3006 | 28 compile_rules() |
pankso@12528 | 29 { |
Hans-G?nter@21169 | 30 ./configure \ |
Hans-G?nter@21169 | 31 --enable-intel \ |
Hans-G?nter@23021 | 32 --enable-nouveau-experimental-api \ |
Hans-G?nter@21169 | 33 --enable-radeon \ |
Hans-G?nter@23021 | 34 --enable-udev \ |
Hans-G?nter@21169 | 35 --enable-vmwgfx-experimental-api \ |
pankso@12528 | 36 $CONFIGURE_ARGS && |
Hans-G?nter@21169 | 37 make -j 1 && |
Hans-G?nter@21169 | 38 make install |
pankso@3006 | 39 } |
pankso@3006 | 40 |
pankso@3006 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3006 | 42 genpkg_rules() |
pankso@3006 | 43 { |
pankso@3006 | 44 mkdir -p $fs/usr/lib |
Hans-G?nter@21169 | 45 |
Hans-G?nter@21169 | 46 cp -a $install/usr/lib/libdrm.so* $fs/usr/lib |
Hans-G?nter@21169 | 47 cp -a $install/usr/lib/libkms*.so* $fs/usr/lib |
pankso@3006 | 48 } |