void-packages/srcpkgs/eb/template

36 lines
763 B
Bash

# Template file for 'eb'
pkgname=eb
version=4.4.3
revision=2
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"
homepage="https://github.com/2ion/eb"
distfiles="https://github.com/2ion/eb/archive/${version}.tar.gz"
checksum=16274f4d5ec34cc37ed308927390a1d0d09e0e6a2b35fbff7d17aacca0524a37
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
}
}