void-packages/srcpkgs/sqlite-pcre/template
2020-02-06 20:47:43 +01:00

21 lines
798 B
Bash

# Template file for 'sqlite-pcre'
pkgname=sqlite-pcre
version=0.1
revision=1
wrksrc="sqlite3-pcre-${version}-alt1"
hostmakedepends="pkg-config"
makedepends="pcre-devel sqlite-devel"
short_desc="Perl-compatible regular expression support for the SQLite"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="Public Domain"
homepage="http://git.altlinux.org/people/at/packages/?p=sqlite3-pcre.git;a=summary"
distfiles="http://git.altlinux.org/people/at/packages/?p=sqlite3-pcre.git;a=snapshot;h=refs/tags/${version}-alt1;sf=tgz>${version}.tar.gz"
checksum=@ada00e1707324112a713a18bc6447519c43861ed061f5b7afd234a65ae91cbe3
do_build() {
$CC -shared -fPIC $(pkg-config --cflags --libs sqlite3 libpcre) ${CFLAGS} ${LDFLAGS} pcre.c -o pcre.so
}
do_install() {
vinstall pcre.so 644 usr/lib/sqlite3
}