New package: ksql-0.3.2

This commit is contained in:
Duncaen 2018-12-13 19:43:42 +01:00
parent b694a49e37
commit 60aa132f56
2 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,44 @@
--- configure
+++ configure
@@ -214,19 +215,28 @@
return 1
fi
- if ./test-${1} 1>&3 2>&3; then
- echo "${1}: yes" 1>&2
- echo "${1}: yes" 1>&3
- echo 1>&3
- eval HAVE_${2}=1
- rm "test-${1}"
- return 0
- else
- echo "${1}: execution failed with $?" 1>&3
- echo 1>&3
- rm "test-${1}"
- return 1
- fi
+ echo "${1}: yes" 1>&2
+ echo "${1}: yes" 1>&3
+ echo 1>&3
+ eval HAVE_${2}=1
+ rm "test-${1}"
+ return 0
+
+ # Don't actually run the test: none of our tests check for
+ # run-time behaviour.
+ # if ./test-${1} 1>&3 2>&3; then
+ # echo "${1}: yes" 1>&2
+ # echo "${1}: yes" 1>&3
+ # echo 1>&3
+ # eval HAVE_${2}=1
+ # rm "test-${1}"
+ # return 0
+ # else
+ # echo "${1}: execution failed with $?" 1>&3
+ # echo 1>&3
+ # rm "test-${1}"
+ # return 1
+ # fi
}
# Run a complete autoconfiguration test, including the check for

19
srcpkgs/ksql/template Normal file
View File

@ -0,0 +1,19 @@
# Template file for 'ksql'
pkgname=ksql
version=0.3.2
revision=1
build_style=configure
configure_args="PREFIX=/usr MANDIR=/usr/share/man"
hostmakedepends="sqlite"
makedepends="sqlite-devel"
short_desc="Yet another SQLite wrapper"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="ISC"
homepage="https://kristaps.bsd.lv/ksql/"
distfiles="https://kristaps.bsd.lv/ksql/snapshots/ksql-${version}.tar.gz"
checksum=960f8b80e7a57091b393a62ab7b274b6ee3aa05950f03cad00dd6523af4cb47b
post_install() {
sed -n '2,16p' ksql.c >LICENSE
vlicense LICENSE
}