wok-current view xorg-xf86-video-modesetting/receipt @ rev 24056
Up zstd (1.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 08 09:29:15 2021 +0000 (2021-06-08) |
parents | 4b1e9a88ff15 |
children | 5d79829fa876 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-modesetting"
4 VERSION="0.9.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg generic modesetting video driver."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="xf86-video-modesetting"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.x.org/"
12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
13 HOST_ARCH="i486 arm"
15 # We can use xorg-server-light with evdev and fbdev driver.
16 #DEPENDS="xorg-server"
17 BUILD_DEPENDS="xorg-server-dev"
19 # ARM use build system xorg-server-dev or manually install it in sysroot
20 case "$ARCH" in
21 arm) BUILD_DEPENDS="" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --with-xorg-module-dir=/usr/lib/X11/modules \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/X11/modules/drivers/
40 cp -a $install/usr/lib/X11/modules/drivers/*.so \
41 $fs/usr/lib/X11/modules/drivers/
42 }