void-packages/srcpkgs/kpty/template
Juergen Buchmueller 0a9c25f5a1 kpty: fix cross
2016-11-01 19:14:07 +01:00

25 lines
825 B
Bash

# Template file for 'kpty'
pkgname=kpty
version=5.26.0
revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules kcoreaddons-devel"
makedepends="kcoreaddons-devel ki18n-devel libutempter-devel"
short_desc="KDE Interfacing with pseudo terminal devices"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kpty"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=7574d548eacc5155d006963f696540559efd58c71a9657fd2eab133ace273fb8
kpty-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}