vp-build/srcpkgs/libite/template

35 lines
820 B
Bash

# Template file for 'libite'
pkgname=libite
version=1.8.3
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=82edaa445094a4a94da36b843ff580bc0223e24723d0c69fbed24e74af3aeae8
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"
}
}