void-packages/srcpkgs/a10disp/template

27 lines
740 B
Bash
Raw Normal View History

2014-01-27 19:03:55 +01:00
# Template file for 'a10disp'
pkgname=a10disp
2015-07-27 02:04:31 +02:00
reverts=20150416_1
version=20140314
revision=2
_commit=7525cff0366c6feb0142873705687b368b26bedb
wrksrc="$pkgname-$_commit"
2014-01-27 19:03:55 +01:00
short_desc="Utility to change the display mode of Allwinner A10/13/20 devices"
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"
2015-04-16 09:05:50 +02:00
makedepends="fbset sun7i-kernel-headers"
2014-01-27 19:03:55 +01:00
depends="fbset"
2015-07-27 02:04:31 +02:00
distfiles="$homepage/archive/$_commit.tar.gz"
checksum=96f30ee6466c904361e917e06123ed6dbe344db39c865d4b3184012bea15bcc1
2014-01-27 19:03:55 +01:00
do_build() {
2015-04-16 09:05:50 +02:00
cp ${XBPS_CROSS_BASE}/usr/src/sun7i-kernel*/include/video/sunxi_disp_ioctl.h .
$CC $CFLAGS $LDFLAGS -Wall a10disp.c -o a10disp
2014-01-27 19:03:55 +01:00
}
do_install() {
2015-04-16 09:05:50 +02:00
vbin a10disp
vdoc README
2014-01-27 19:03:55 +01:00
}