summaryrefslogtreecommitdiff
path: root/repo/xf86-video-ati/xf86-video-ati.xibuild
blob: f9bc5b3da160720b87a614678bf3e2ab47225081 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

MAKEDEPS="make"
DEPS="xorg-server mesa"

DESC="X.org ATI video driver"

PKG_VER=19.1.0
SOURCE=https://www.x.org/pub/individual/driver/xf86-video-ati-$PKG_VER.tar.bz2

ADDITIONAL="
    https://www.linuxfromscratch.org/patches/blfs/svn/xf86-video-ati-$PKG_VER-upstream_fixes-1.patch
    "

prepare () {
    patch -Np1 -i xf86-video-ati-$PKG_VER-upstream_fixes-1.patch
}

build () {
    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}