void-packages/srcpkgs/sqlcipher/template

32 lines
850 B
Bash
Raw Normal View History

2015-10-28 02:53:05 +00:00
# Template file for 'sqlcipher'
pkgname=sqlcipher
version=3.3.1
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=ce5167b2e4d7eb1514fd5a8dfc115a11c4b85f5fd88be2a9fd35ffbb684365bf
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
}
}