41 lines
1.0 KiB
Bash
41 lines
1.0 KiB
Bash
# Template file for 'libite'
|
|
pkgname=libite
|
|
version=2.6.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
short_desc="Lightweight library of frog DNA"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="MIT, ISC, BSD-2-Clause, BSD-3-Clause"
|
|
homepage="https://github.com/troglobit/libite"
|
|
changelog="https://raw.githubusercontent.com/troglobit/libite/master/ChangeLog.md"
|
|
distfiles="https://github.com/troglobit/libite/archive/v${version}.tar.gz"
|
|
checksum=5980a010f29d7776f032ae6b27a3efafff417772ffb09d7548ceabd3260eab44
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
rm -rf ${DESTDIR}/usr/share/doc/libite
|
|
}
|
|
|
|
pre_check() {
|
|
# avoid installing which for testing a which function
|
|
vsed -e 's;/usr/bin/which;/usr/bin/id;' -i test/which.c
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|