summaryrefslogtreecommitdiff
path: root/uae/uae_0.8.23-20040129.oe
blob: 21e21526728ac1d09fc5ab7fa326c04d85a16b33 (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
32
33
DESCRIPTION = "Amiga Emulator based on SDL"
SECTION = "base"
PRIORITY = "optional"
DEPENDS = "virtual/libc libsdl-qpe"

SRC_URI = "http://rcdrummond.net/uae/uae-${PV}/uae-${PV}.tar.bz2 \
           file://${FILESDIR}/configure.patch;patch=1 \
           file://${FILESDIR}/m4.patch;patch=1"

inherit autotools libtool

EXTRA_OECONF = "--with-hostcc=gcc --disable-ui --without-x \
		--without-gtk --enable-jit --disable-natmem \
		--with-zlib=${STAGING_LIBDIR}/.. \
		--with-sdl-exec-prefix=${STAGING_BINDIR}/.. \
		--with-sdl-prefix=${STAGING_LIBDIR}/.."

CFLAGS_append = " -DSTAT_STATFS2_BSIZE=1 "
CXXFLAGS_append = " -DSTAT_STATFS2_BSIZE=1 "

do_configure_prepend () {
	touch NEWS AUTHORS ChangeLog
}

do_install_append() {
# Packages NEVER, ever, ever, ever touch home directories directly.
# ever.
# Either update a global config in /etc, install it into /etc/skel/ for
# new users homedirs, rely on the user installing it to put it in place,
# or dont install it at all.  --CL
#	install -d ${D}/home/root
#	install ${FILESDIR}/uaerc ${D}/home/root/.uaerc
}