mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
a10disp: add distfiles+checksum
This commit is contained in:
parent
1ea32d4243
commit
cfad952eeb
1 changed files with 7 additions and 8 deletions
|
@ -1,22 +1,21 @@
|
||||||
# Template file for 'a10disp'
|
# Template file for 'a10disp'
|
||||||
pkgname=a10disp
|
pkgname=a10disp
|
||||||
version=20150416
|
reverts=20150416_1
|
||||||
revision=1
|
version=20140314
|
||||||
|
revision=2
|
||||||
|
_commit=7525cff0366c6feb0142873705687b368b26bedb
|
||||||
|
wrksrc="$pkgname-$_commit"
|
||||||
short_desc="Utility to change the display mode of Allwinner A10/13/20 devices"
|
short_desc="Utility to change the display mode of Allwinner A10/13/20 devices"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/hglm/a10disp"
|
homepage="https://github.com/hglm/a10disp"
|
||||||
|
|
||||||
only_for_archs="armv7l"
|
only_for_archs="armv7l"
|
||||||
hostmakedepends="git"
|
|
||||||
makedepends="fbset sun7i-kernel-headers"
|
makedepends="fbset sun7i-kernel-headers"
|
||||||
depends="fbset"
|
depends="fbset"
|
||||||
|
distfiles="$homepage/archive/$_commit.tar.gz"
|
||||||
|
checksum=96f30ee6466c904361e917e06123ed6dbe344db39c865d4b3184012bea15bcc1
|
||||||
|
|
||||||
do_fetch() {
|
|
||||||
git clone git://github.com/hglm/a10disp ${wrksrc}
|
|
||||||
cd ${wrksrc}
|
|
||||||
git checkout 7525cff0366c6feb
|
|
||||||
}
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cp ${XBPS_CROSS_BASE}/usr/src/sun7i-kernel*/include/video/sunxi_disp_ioctl.h .
|
cp ${XBPS_CROSS_BASE}/usr/src/sun7i-kernel*/include/video/sunxi_disp_ioctl.h .
|
||||||
$CC $CFLAGS $LDFLAGS -Wall a10disp.c -o a10disp
|
$CC $CFLAGS $LDFLAGS -Wall a10disp.c -o a10disp
|
||||||
|
|
Loading…
Add table
Reference in a new issue