void-packages/srcpkgs/libite/template

35 lines
820 B
Bash

# Template file for 'libite'
pkgname=libite
version=1.9.2
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Lightweight library of frog DNA"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="MIT, ISC, BSD"
homepage="https://github.com/troglobit/libite"
distfiles="https://github.com/troglobit/libite/archive/v${version}.tar.gz"
checksum=18c087123f02cc3cfb612bf53b12dc8a94d4d3ebf015ed5937b1f9203eef72f8
pre_configure() {
./autogen.sh
}
post_install() {
vlicense LICENSE
rm -rf ${DESTDIR}/usr/share/doc/libite
}
libite-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/doc
vmove "usr/lib/*.a"
vmove "usr/lib/*.la"
vmove "usr/lib/*.so"
}
}