void-packages/srcpkgs/kmscon/template
2013-04-27 04:36:13 +02:00

32 lines
1.1 KiB
Text

# Template file for 'kmscon'
pkgname=kmscon
version=7
revision=1
build_style=gnu-configure
configure_args="--enable-kmscon --disable-wlterm --enable-multi-seat
--enable-hotplug --enable-eloop-dbus --disable-static"
hostmakedepends="pkg-config docbook-xsl xkeyboard-config"
makedepends="MesaLib-devel pango-devel libxkbcommon-devel
libpciaccess-devel libudev-devel systemd-devel dbus-devel fuse-devel"
short_desc="Terminal emulator based on Kernel Mode Setting (KMS)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.freedesktop.org/wiki/Software/kmscon"
distfiles="http://www.freedesktop.org/software/kmscon/releases/kmscon-${version}.tar.bz2"
checksum=577d977f66247cfc0e30bb5971fb796bc78a81d8008076ed21b9e6a142dcbed4
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
vmkdir usr/lib/systemd/system
install -m644 docs/kmscon{,vt@}.service ${DESTDIR}/usr/lib/systemd/system
# Remove devel files.
rm -rf ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/lib/pkgconfig
}
kmscon_package() {
depends="xkeyboard-config"
pkg_install() {
vmove usr
}
}