From 555e662f1442d158cf31323b27a5dff1897906c0 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Mon, 20 Jan 2014 18:46:22 +0100 Subject: [PATCH] Add dev-db/sqlite3-pcre --- dev-db/sqlite3-pcre/files/Makefile | 16 ++++++++++++++ .../sqlite3-pcre/sqlite3-pcre-20070120.ebuild | 22 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-db/sqlite3-pcre/files/Makefile create mode 100644 dev-db/sqlite3-pcre/sqlite3-pcre-20070120.ebuild diff --git a/dev-db/sqlite3-pcre/files/Makefile b/dev-db/sqlite3-pcre/files/Makefile new file mode 100644 index 0000000..78272a6 --- /dev/null +++ b/dev-db/sqlite3-pcre/files/Makefile @@ -0,0 +1,16 @@ +CC=cc +INSTALL=install +CFLAGS=$(shell pkg-config --cflags sqlite3 libpcre) -fPIC +LIBS=$(shell pkg-config --libs libpcre) +prefix=/usr + +.PHONY : install clean + +pcre.so : pcre.c + ${CC} -shared -o $@ ${CFLAGS} -W -Werror pcre.c ${LIBS} -Wl,-z,defs + +install : pcre.so + ${INSTALL} -pD -m755 pcre.so ${DESTDIR}${prefix}/lib/sqlite3/pcre.so + +clean : + -rm -f pcre.so diff --git a/dev-db/sqlite3-pcre/sqlite3-pcre-20070120.ebuild b/dev-db/sqlite3-pcre/sqlite3-pcre-20070120.ebuild new file mode 100644 index 0000000..c90cb17 --- /dev/null +++ b/dev-db/sqlite3-pcre/sqlite3-pcre-20070120.ebuild @@ -0,0 +1,22 @@ +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +inherit eutils + +DESCRIPTION="Perl-compatible regular expression support for the SQLite" +HOMEPAGE="http://git.altlinux.org/people/at/packages/?p=sqlite3-pcre.git" +SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/sqlite3-pcre_0~git20070120091816+4229ecc.orig.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="dev-db/sqlite:3 + dev-libs/libpcre" +DEPEND="${RDEPEND}" +S="${WORKDIR}/${PN}" + +src_prepare() { + cp "${FILESDIR}/Makefile" "${S}/" +} -- 2.39.5