void-packages/srcpkgs/sqlcipher/template
2019-03-18 13:32:39 -03:00

33 lines
942 B
Bash

# Template file for 'sqlcipher'
pkgname=sqlcipher
version=4.1.0
revision=1
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="BSD-3-Clause"
homepage="https://www.zetetic.net/sqlcipher/"
changelog="https://raw.githubusercontent.com/sqlcipher/sqlcipher/v${version}/CHANGELOG.md"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
checksum=65144ca3ba4c0f9cd4bae8c20bb42f2b84424bf29d1ebcf04c44a728903b1faa
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
}
}