wok view xorg-xf86-video-openchrome/receipt @ rev 22437
john: fix link, add to right place
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Dec 22 16:03:18 2019 +0000 (2019-12-22) |
parents | fc33aae5387c |
children | 5d79829fa876 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-openchrome"
4 VERSION="0.6.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server openchrome driver."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="xf86-video-openchrome"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.x.org/"
12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
13 TAGS="xorg display"
15 DEPENDS="xorg-server xorg-libXvMC mesa-dri-unichrome libdrm"
16 BUILD_DEPENDS="xorg-server-dev xorg-libXvMC-dev libdrm-dev"
18 MODS='/usr/lib/X11/modules'
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --sysconfdir=/etc \
26 --mandir=/usr/share/man \
27 --localstatedir=/var \
28 --with-xorg-module-dir=$MODS \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p ${fs}${MODS}/drivers
37 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }