void-packages/srcpkgs/eb/template

36 lines
813 B
Bash

# Template file for 'eb'
pkgname=eb
version=4.4.3
revision=3
build_style=gnu-configure
hostmakedepends="perl"
makedepends="zlib-devel"
short_desc="C library and tools for accessing CD-ROM books"
maintainer="John <me@johnnynator.dev>"
license="BSD-3-Clause"
homepage="https://www.mistys-internet.website/eb/index-en.html"
distfiles="https://github.com/mistydemeo/eb/archive/refs/tags/v${version}.tar.gz"
checksum=74448639360a35098f2645c934e4fa77008086938fc15587b26cb36a6365aecb
post_install() {
vlicense COPYING
}
libeb-devel_package() {
depends="libeb>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/aclocal
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}
libeb_package() {
short_desc+=" - Library"
pkg_install() {
vmove usr/lib
}
}