void-packages/srcpkgs/chmlib/template
2017-07-07 20:07:29 +02:00

29 lines
841 B
Bash

# Template file for 'chmlib'
pkgname=chmlib
version=0.40
revision=2
build_style=gnu-configure
configure_args="--enable-examples"
short_desc="Utilities for dealing with Microsoft ITSS/CHM format files"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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="Library for dealing with Microsoft ITSS/CHM format files - development files"
depends="libchmlib>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}