wok annotate xorg-xf86-video-modesetting/receipt @ rev 25229
updated python-pyst2 (0.5.0 -> 0.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 16:59:13 2022 +0100 (2022-07-13) |
parents | 814c58f64f83 |
children |
rev | line source |
---|---|
pascal@20374 | 1 # SliTaz package receipt. |
pascal@20374 | 2 |
pascal@20374 | 3 PACKAGE="xorg-xf86-video-modesetting" |
pascal@20374 | 4 VERSION="0.9.0" |
pascal@20374 | 5 CATEGORY="x-window" |
pascal@20374 | 6 SHORT_DESC="Xorg generic modesetting video driver." |
pascal@20374 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20374 | 8 LICENSE="MIT" |
pascal@20374 | 9 SOURCE="xf86-video-modesetting" |
pascal@20374 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20423 | 11 WEB_SITE="https://www.x.org/" |
pascal@20374 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pascal@20374 | 13 HOST_ARCH="i486 arm" |
pascal@20374 | 14 |
pascal@20374 | 15 # We can use xorg-server-light with evdev and fbdev driver. |
pascal@20374 | 16 #DEPENDS="xorg-server" |
pascal@20374 | 17 BUILD_DEPENDS="xorg-server-dev" |
pascal@20374 | 18 |
pascal@20374 | 19 # ARM use build system xorg-server-dev or manually install it in sysroot |
pascal@20374 | 20 case "$ARCH" in |
pascal@20374 | 21 arm) BUILD_DEPENDS="" ;; |
pascal@20374 | 22 esac |
pascal@20374 | 23 |
pascal@24072 | 24 current_version() |
pascal@24072 | 25 { |
pascal@24072 | 26 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 27 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 28 } |
pascal@24072 | 29 |
pascal@20374 | 30 # Rules to configure and make the package. |
pascal@20374 | 31 compile_rules() |
pascal@20374 | 32 { |
pascal@20374 | 33 ./configure \ |
pascal@20374 | 34 --prefix=/usr \ |
pascal@20374 | 35 --sysconfdir=/etc \ |
pascal@20374 | 36 --localstatedir=/var \ |
pascal@20374 | 37 --with-xorg-module-dir=/usr/lib/X11/modules \ |
pascal@20374 | 38 $CONFIGURE_ARGS && |
pascal@20374 | 39 make && make install |
pascal@20374 | 40 } |
pascal@20374 | 41 |
pascal@20374 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20374 | 43 genpkg_rules() |
pascal@20374 | 44 { |
pascal@20374 | 45 mkdir -p $fs/usr/lib/X11/modules/drivers/ |
pascal@20374 | 46 cp -a $install/usr/lib/X11/modules/drivers/*.so \ |
pascal@20374 | 47 $fs/usr/lib/X11/modules/drivers/ |
pascal@20374 | 48 } |
pascal@20374 | 49 |