CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xf86-video-sunxifb: Initial commit
[ports/orangepipc-arm.git] / xf86-video-sunxifb / Pkgfile
CommitLineData
4f1f692c
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
7name=xf86-video-sunxifb
8version=git
9release=1
10source=()
11
12build() {
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}