void-packages/srcpkgs/sqlcipher/template

32 lines
850 B
Bash

# Template file for 'sqlcipher'
pkgname=sqlcipher
version=3.4.2
revision=3
build_style=gnu-configure
configure_args="--enable-tempstore=yes"
hostmakedepends="tcl"
makedepends="libressl-devel readline-devel"
short_desc="SQLite extension that provides transparent 256-bit AES encryption"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="3-clause-BSD"
homepage="https://www.zetetic.net/sqlcipher/"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
checksum=69897a5167f34e8a84c7069f1b283aba88cdfa8ec183165c4a5da2c816cfaadb
CFLAGS="-DSQLITE_HAS_CODEC"
post_install() {
vlicense LICENSE
}
sqlcipher-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}