aboutsummaryrefslogtreecommitdiff
path: root/package/pseudo/pseudo.mk
blob: 7a48cec7dadb28e86bbab537bd537095a9b298ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
################################################################################
#
# pseudo
#
################################################################################

PSEUDO_VERSION = 45eca34c754d416a38bee90fb2d3c110a0b6cc5f
PSEUDO_SITE = https://git.yoctoproject.org/git/pseudo
PSEUDO_SITE_METHOD = git

# No "or later" clause.
PSEUDO_LICENSE = LGPL-2.1
PSEUDO_LICENSE_FILES = COPYING

HOST_PSEUDO_DEPENDENCIES = host-attr host-sqlite

# configure script is not generated by autoconf, so passing --libdir
# is necessary, even if the infrastructure passes --prefix already.
# It also does not use CFLAGS from the environment, they need to be
# specified with a custom --cflags option. Also force rpath to avoid
# a warning at configure time.
HOST_PSEUDO_CONF_OPTS = \
	--cflags="$(HOSTCFLAGS)" \
	--with-rpath=$(HOST_DIR)/usr/lib \
	--bits=$(if $(filter %64,$(HOSTARCH)),64,32) \
	--libdir=$(HOST_DIR)/usr/lib \
	--with-sqlite=$(HOST_DIR)/usr

$(eval $(host-autotools-package))