Commit | Line | Data |
---|---|---|
5d5fbebe VM |
1 | # Description: xorg driver xf86-video-sunxifb Mali-400 X11/DRI2/EXA drivers |
2 | # URL: https://github.com/linux-sunxi/xf86-video-mali | |
3 | # Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu | |
5 | # Depends on: sunxi-mali | |
6 | ||
7 | name=xf86-video-sunxifb | |
8 | version=git | |
9 | release=1 | |
10 | source=() | |
11 | ||
12 | build() { | |
13 | if [ ! -d $PKGMK_SOURCE_DIR/$name ]; then | |
14 | git clone https://github.com/ssvb/xf86-video-sunxifb.git $PKGMK_SOURCE_DIR/$name | |
15 | else | |
16 | cd $PKGMK_SOURCE_DIR/$name && git fetch | |
17 | fi | |
18 | cp -r $PKGMK_SOURCE_DIR/$name $SRC | |
19 | ||
20 | cd $SRC/$name | |
21 | autoreconf -vi | |
22 | ./configure --prefix=/usr --mandir=/usr/man | |
23 | make | |
24 | make DESTDIR=$PKG install | |
25 | } |