summaryrefslogtreecommitdiff
path: root/databases/sqlite/buildlink2.mk
blob: 3410f6eb4feebc6aad7512de3d12d615c3e40e33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: buildlink2.mk,v 1.3 2003/02/17 14:55:30 agc Exp $

.if !defined(SQLITE_BUILDLINK2_MK)
SQLITE_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		sqlite
BUILDLINK_DEPENDS.sqlite?=	sqlite>=2.8.0
BUILDLINK_PKGSRCDIR.sqlite?=	../../databases/sqlite

EVAL_PREFIX+=				BUILDLINK_PREFIX.sqlite=sqlite
BUILDLINK_PREFIX.sqlite_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.sqlite=			include/sqlite.h
BUILDLINK_FILES.sqlite+=		lib/libsqlite.*

BUILDLINK_TARGETS+=	sqlite-buildlink

sqlite-buildlink: _BUILDLINK_USE

.endif	# SQLITE_BUILDLINK2_MK