32 lines
849 B
Bash
32 lines
849 B
Bash
# Template file for 'libdbi'
|
|
pkgname=libdbi
|
|
version=0.9.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
short_desc="Database independent abstraction layer for C"
|
|
maintainer="cinerea0 <cinerea0@protonmail.com>"
|
|
license="LGPL-2.1-only"
|
|
homepage="https://libdbi.sourceforge.net/"
|
|
changelog="https://sourceforge.net/p/libdbi/libdbi/ci/master/tree/NEWS"
|
|
distfiles="${SOURCEFORGE_SITE}/libdbi/libdbi-${version}.tar.gz"
|
|
checksum=dafb6cdca524c628df832b6dd0bf8fabceb103248edb21762c02d3068fca4503
|
|
|
|
libdbi-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|
|
|
|
libdbi-doc_package() {
|
|
short_desc+=" - documentation"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|