2014-01-27 19:03:55 +01:00
|
|
|
# Template file for 'a10disp'
|
|
|
|
pkgname=a10disp
|
|
|
|
version=20140127
|
|
|
|
revision=1
|
|
|
|
short_desc="Utility to change the display mode of Allwinner A10/13/20 devices"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-01-27 19:03:55 +01:00
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/hglm/a10disp"
|
|
|
|
|
|
|
|
only_for_archs="armv7l"
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="git"
|
2014-01-27 19:03:55 +01:00
|
|
|
makedepends="fbset cubieboard2-kernel-headers"
|
|
|
|
depends="fbset"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone git://github.com/hglm/a10disp ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cp ${XBPS_CROSS_BASE}/usr/src/cubieboard2-kernel*/include/video/sunxi_disp_ioctl.h .
|
|
|
|
$CC -Wall a10disp.c -o a10disp
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vinstall a10disp 755 usr/bin
|
|
|
|
vinstall README 644 usr/share/doc/a10disp
|
|
|
|
}
|