summaryrefslogtreecommitdiff
path: root/recipes/twin/twutils_0.2.bb
blob: b50a08094407fe804d83e600ec9e1a5ee471ed1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DESCRIPTION = "Utilities for twin. Currently contains 'twkalc', a calculator derived from kcalc."
DEPENDS = "twin"

SECTION = "console/utils"
LICENSE = "GPL LGPL"
SRC_URI = "http://linuz.sns.it/~max/twin/twutils-0.2.tar.gz"

inherit autotools

CXXFLAGS_append = " -DHAVE_FUNC_ISINF"
LDFLAGS_append = " -L${STAGING_LIBDIR}"

do_compile() {
	for i in admin twkalc
	do
		cd ${S}/$i && oe_runmake LDFLAGS="${LDFLAGS}"
	done
}