void-packages/srcpkgs/sqlcipher/template
maxice8 d09de479ec sqlcipher: update to 3.4.2.
Closes: #10171 [via git-merge-pr]
2017-12-28 21:51:11 +01:00

31 lines
850 B
Bash

# Template file for 'sqlcipher'
pkgname=sqlcipher
version=3.4.2
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="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
}
}