b95bd23d26
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
30 lines
799 B
Bash
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}
|
|
}
|
|
}
|