30 lines
823 B
Bash
30 lines
823 B
Bash
# Template file for 'chmlib'
|
|
pkgname=chmlib
|
|
version=0.40
|
|
revision=4
|
|
build_style=gnu-configure
|
|
configure_args="--enable-examples"
|
|
short_desc="Utilities for dealing with Microsoft ITSS/CHM format files"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://www.jedrea.com/chmlib/"
|
|
distfiles="http://www.jedrea.com/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
checksum=3449d64b0cf71578b2c7e3ddc048d4af3661f44a83941ea074a7813f3a59ffa3
|
|
patch_args=-Np0
|
|
|
|
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
|
|
}
|
|
}
|