summaryrefslogtreecommitdiff
path: root/recipes/xaos/xaos_3.2.3.bb
blob: 22cedeb296f1a8cd91446b6ffe91a1c2d1e3c6ae (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
DESCRIPTION = "GNU XaoS, a realtime fractal generator zoomer"
HOMEPAGE = "http://wmi.math.u-szeged.hu/xaos/doku.php"
SECTION = "graphics"
LICENSE = "GPLv2"
DEPENDS = "aalib libx11 zlib libpng"
RDEPENDS += "libxxf86dga"
PR = "r0"

SRC_URI = "http://easynews.dl.sourceforge.net/sourceforge/xaos/XaoS-3.2.3.tar.gz \
           file://fix-build.patch;patch=1 \
           file://fix-aalib-configure.patch;patch=1"

S = "${WORKDIR}/XaoS-${PV}"

inherit autotools

EXTRA_OECONF = "--disable-nls"
#--with-x --with-ncurses=${STAGING_INCDIR} --with-dga-driver=no --with-x11-driver=no --with-aa-driver=yes

do_configure_prepend() {
    sed -i 's~/usr/include~${STAGING_INCDIR}~' ${S}/configure.in
    sed -i 's~/usr/local/include~${STAGING_INCDIR}~' ${S}/configure.in
    sed -i 's~/usr/lib~${STAGING_LIBDIR}~' ${S}/configure.in
    sed -i 's~/usr/local/lib~${STAGING_LIBDIR}~' ${S}/configure.in
}

FILES_${PN} = "${bindir} ${datadir}/XaoS/catalogs"

CFLAGS = "-L${STAGING_LIBDIR}"