void-packages/srcpkgs/chmlib/template

30 lines
799 B
Bash

# Template file for 'chmlib'
pkgname=chmlib
version=0.40
revision=3
build_style=gnu-configure
configure_args="--enable-examples"
short_desc="Utilities for dealing with Microsoft ITSS/CHM format files"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1"
homepage="http://www.jedrea.com/chmlib/"
distfiles="http://www.jedrea.com/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=3449d64b0cf71578b2c7e3ddc048d4af3661f44a83941ea074a7813f3a59ffa3
libchmlib_package() {
short_desc="Library for dealing with Microsoft ITSS/CHM format files"
pkg_install() {
vmove usr/lib/*.so.*
}
}
libchmlib-devel_package() {
short_desc="${short_desc} - development files"
depends="libchmlib>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}