cbd502dc97
Point to correct location of VERSION file so we save the correct version into pkgconfig file. Addresses PR pkg/26875 by Ian Zagorskih.
35 lines
935 B
Makefile
35 lines
935 B
Makefile
# $NetBSD: Makefile,v 1.27 2004/09/08 15:55:48 salo Exp $
|
|
|
|
DISTNAME= sqlite-2.8.15
|
|
PKGREVISION= 1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.hwaci.com/sw/sqlite/ \
|
|
http://www.sqlite.org/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.hwaci.com/sw/sqlite/
|
|
COMMENT= SQL Database Engine in a C Library
|
|
|
|
WRKSRC= ${WRKDIR}/sqlite-build
|
|
USE_BUILDLINK3= yes
|
|
USE_GNU_TOOLS+= make
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= ../sqlite/configure
|
|
CONFIGURE_ARGS+= --without-tcl
|
|
CONFIGURE_ENV+= config_TARGET_READLINE_INC="-I${BUILDLINK_PREFIX.readline}/include"
|
|
|
|
CFLAGS+= -DUINT32_TYPE=u_int32_t -DUINT16_TYPE=u_int16_t \
|
|
-DUINT8_TYPE=u_int8_t -DINTPTR_TYPE=long
|
|
|
|
PKGCONFIG_OVERRIDE= ${WRKDIR}/sqlite/sqlite.pc.in
|
|
|
|
post-extract:
|
|
${MKDIR} ${WRKSRC}
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKDIR}/sqlite/sqlite.1 ${PREFIX}/man/man1
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|