aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/zile/zile_1.7+2.0beta6.bb
blob: 74d832eef3554cda59a74780a79474e444063e85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "Zile is a very small emacs-like editor."
HOMEPAGE = "http://zile.sourceforge.net/"
LICENSE = "GPL"
DEPENDS = "ncurses"
PRIORITY = "optional"
SECTION = "console/editors"
PR = "r1"

UV = "${@bb.data.getVar('PV', d, 1).split('+')[1]}"

SRC_URI = "${SOURCEFORGE_MIRROR}/zile/zile-${UV}.tar.gz \
	   file://for_build.patch;patch=1"
S = "${WORKDIR}/zile-${UV}"

inherit autotools

export CC_FOR_BUILD = "${BUILD_CC}"
export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -DHAVE_VASPRINTF"
export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}"