void-packages/srcpkgs/kmscon/template
Jürgen Buchmüller 653e880ecf kmscon: fix build and xlint
Needs sys/sysmacros.h for definitions of major and minor.
2020-05-27 12:00:46 +02:00

28 lines
904 B
Bash

# Template file for 'kmscon'
pkgname=kmscon
version=8
revision=6
build_style=gnu-configure
configure_args="--disable-static --disable-multi-seat"
hostmakedepends="pkg-config docbook-xsl xkeyboard-config"
makedepends="MesaLib-devel pango-devel libtsm-devel libxkbcommon-devel
libpciaccess-devel eudev-libudev-devel dbus-devel fuse-devel"
depends="xkeyboard-config"
short_desc="Terminal emulator based on Kernel Mode Setting (KMS)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://www.freedesktop.org/wiki/Software/kmscon"
distfiles="${FREEDESKTOP_SITE}/kmscon/releases/kmscon-${version}.tar.xz"
checksum=0ab01c1cdc4fbd692ce765e80478bc2d9663a7c55a5c75cc7ac421366ee6ae2b
lib32disabled=yes
case "$XBPS_TARGET_MACHINE" in
ppc*) broken="ftbfs";;
esac
post_install() {
vlicense COPYING
# Remove devel files.
rm -rf ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/lib/pkgconfig
}