void-packages/srcpkgs/ois/template

33 lines
839 B
Bash

# Template file for 'ois'
pkgname=ois
version=1.3
revision=2
wrksrc=${pkgname}-v${version/./-}
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libXaw-devel"
short_desc="Object oriented input system"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="ZLIB"
homepage="http://sourceforge.net/projects/wgois/"
distfiles="${SOURCEFORGE_SITE}/project/wgois/Source%20Release/${version}/${pkgname}_v${version/./-}.tar.gz"
checksum=50fa76d827e119a80e2c86a5196ac4354e556f80b0a4fa440f69e1057b37faa1
pre_configure() {
. bootstrap
}
post_install() {
vlicense ReadMe.txt
}
ois-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/libOIS.a
vmove usr/lib/libOIS.so
}
}