summaryrefslogtreecommitdiff
path: root/recipes/clearsilver/clearsilver_0.10.3.bb
blob: 752223d9982eb8319e0a6c2f77d3450a14ecd440 (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
30
31
# Clearsilver
SECTION = "net"
DESCRIPTION = "Clearsilver is a fast, powerful, and language-neutral HTML template system"
LICENSE = "Neotonic ClearSilver License"
DEPENDS = "python"
PR = "r2"

SRC_URI = "http://www.clearsilver.net/downloads/${P}.tar.gz \
           file://crosscompile.patch;patch=1"

EXTRA_OECONF = "--disable-apache --disable-perl --disable-ruby --disable-java --disable-csharp --enable-gettext --with-python=${STAGING_BINDIR_NATIVE}/python"

inherit autotools distutils-common-base

export PYTHON_DIR

do_compile() {
	BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} oe_runmake
}

do_configure() {
	gnu-configize
	oe_runconf
}

do_stage() {
        autotools_stage_includes
        for i in libs/libneo_cgi.a libs/libneo_cs.a libs/libneo_utl.a; do
            install -m 644 $i ${STAGING_LIBDIR}
        done
}