void-packages/srcpkgs/kmscon/template

33 lines
1.1 KiB
Text
Raw Normal View History

2013-01-16 08:46:12 +00:00
# Template file for 'kmscon'
pkgname=kmscon
2013-04-27 02:36:13 +00:00
version=7
2013-01-16 08:46:12 +00:00
revision=1
build_style=gnu-configure
configure_args="--enable-kmscon --disable-wlterm --enable-multi-seat
2013-04-27 02:36:13 +00:00
--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"
2013-01-16 08:46:12 +00:00
short_desc="Terminal emulator based on Kernel Mode Setting (KMS)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
2013-04-27 02:36:13 +00:00
homepage="http://www.freedesktop.org/wiki/Software/kmscon"
distfiles="http://www.freedesktop.org/software/kmscon/releases/kmscon-${version}.tar.bz2"
checksum=577d977f66247cfc0e30bb5971fb796bc78a81d8008076ed21b9e6a142dcbed4
2013-01-16 08:46:12 +00:00
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
vmkdir usr/lib/systemd/system
2013-04-27 02:36:13 +00:00
install -m644 docs/kmscon{,vt@}.service ${DESTDIR}/usr/lib/systemd/system
2013-01-16 08:46:12 +00:00
# Remove devel files.
rm -rf ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/lib/pkgconfig
}
kmscon_package() {
depends="xkeyboard-config"
pkg_install() {
vmove usr
}
}