wok-6.x annotate xorg-xf86-video-modesetting/receipt @ rev 23835
Up axel (2.17.8), bluez (5.54), cpio (2.13), dnsmasq (2.81), libssh (0.9.4), unbound (1.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 09:34:18 2020 +0000 (2020-06-01) |
parents | 4b1e9a88ff15 |
children | 5d79829fa876 |
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@20374 | 24 # Rules to configure and make the package. |
pascal@20374 | 25 compile_rules() |
pascal@20374 | 26 { |
pascal@20374 | 27 ./configure \ |
pascal@20374 | 28 --prefix=/usr \ |
pascal@20374 | 29 --sysconfdir=/etc \ |
pascal@20374 | 30 --localstatedir=/var \ |
pascal@20374 | 31 --with-xorg-module-dir=/usr/lib/X11/modules \ |
pascal@20374 | 32 $CONFIGURE_ARGS && |
pascal@20374 | 33 make && make install |
pascal@20374 | 34 } |
pascal@20374 | 35 |
pascal@20374 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20374 | 37 genpkg_rules() |
pascal@20374 | 38 { |
pascal@20374 | 39 mkdir -p $fs/usr/lib/X11/modules/drivers/ |
pascal@20374 | 40 cp -a $install/usr/lib/X11/modules/drivers/*.so \ |
pascal@20374 | 41 $fs/usr/lib/X11/modules/drivers/ |
pascal@20374 | 42 } |
pascal@20374 | 43 |