void-packages/srcpkgs/ois/template
Jürgen Buchmüller b95bd23d26
ois: update to 1.5
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-12-02 17:48:56 +01:00

30 lines
799 B
Bash

# Template file for 'ois'
pkgname=ois
version=1.5
revision=1
wrksrc="OIS-${version}"
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libXaw-devel"
short_desc="Object oriented input system"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="zlib-acknowledgement"
homepage="https://wgois.github.io/OIS/"
distfiles="https://github.com/wgois/OIS/archive/v${version}.tar.gz"
checksum=aa3e6b840b1149bb06835e04365957f4659c08b3e3095a48b289050f1637a174
post_install() {
vlicense LICENSE.md
}
ois-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/libOIS.so
# Compatibility with previous versions
ln -srv ${PKGDESTDIR}/usr/include/{ois,OIS}
}
}