gnu-smalltalk: Make it compile

This commit is contained in:
Holger Hans Peter Freyther 2013-01-04 20:30:00 +08:00
parent 7563b0a378
commit b8018837e3
2 changed files with 26 additions and 9 deletions

View File

@ -0,0 +1,16 @@
The build system tries to execute the gst-tool gst-doc and gst-tool is
not installed and the easiest right now is to not build the docs
Index: smalltalk-3.2.4/Makefile.am
===================================================================
--- smalltalk-3.2.4.orig/Makefile.am 2013-01-04 18:56:47.000000000 +0800
+++ smalltalk-3.2.4/Makefile.am 2013-01-04 18:59:51.715391338 +0800
@@ -30,7 +30,7 @@
if ENABLE_DISASSEMBLER
SUBDIRS += opcode
endif
-SUBDIRS += libgst . $(BUILT_PACKAGES) doc tests
+SUBDIRS += libgst . $(BUILT_PACKAGES) tests
# Running gst inside the build directory...

View File

@ -1,10 +1,10 @@
DESCRIPTION = "GNU Smalltalk."
HOMEPAGE = "http://people.freedesktop.org/~whot/evtest/"
LICENSE = "GPLv2"
PR = "r9"
HOMEPAGE = "http://smalltalk.gnu.org/"
LICENSE = "GPLv2+"
PR = "r10"
DEPENDS = "smalltalk-native"
DEPENDS_virtclass-native = ""
DEPENDS = "smalltalk-native gnutls"
DEPENDS_virtclass-native = "gnutls-native"
SRC_URI = " \
ftp://ftp.gnu.org/gnu/smalltalk/smalltalk-3.2.4.tar.gz \
@ -13,22 +13,22 @@ SRC_URI = " \
file://gst-remote-resume.patch \
file://fix_clock_behavior_across_image.patch \
file://fix_fd_resume.patch \
file://no-doc.patch \
"
SRC_URI[md5sum] = "a36a7c9beddca08dc492b500738efc82"
SRC_URI[sha256sum] = "901cc7090a1fa44bc60900a970d207de4aa3bdfdce72bea55114e243bc1eb1b3"
EXTRA_OECONF = "--disable-static --disable-gtk --without-x"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
PACKAGES =+ "${PN}-digest ${PN}-expat ${PN}-gdbm ${PN}-opengl ${PN}-sdl ${PN}-sqlite"
EXTRA_OECONF = "--disable-static --disable-gtk --without-x --without-opengl"
PACKAGES =+ "${PN}-digest ${PN}-expat ${PN}-gdbm ${PN}-sdl ${PN}-sqlite"
FILES_${PN}-digest = "${libdir}/smalltalk/digest*.so"
FILES_${PN}-expat = "${libdir}/smalltalk/expat*.so"
FILES_${PN}-gdbm = "${libdir}/smalltalk/gdbm*.so"
FILES_${PN}-opengl = "${libdir}/smalltalk/gstopengl*.so"
FILES_${PN}-sdl = "${libdir}/smalltalk/sdl*.so"
FILES_${PN}-sqlite = "${libdir}/smalltalk/dbd-sqlite*.so"
FILES_${PN}-dbg += "${libdir}/smalltalk/.debug ${libexecdir}/smalltalk/.debug"
#FILES_${PN}-dev += "${libdir}/smalltalk/*.so ${libdir}/smalltalk/*.la"
FILES_${PN}-dev += "${libdir}/smalltalk/*.la"
FILES_${PN}-static += "${libdir}/smalltalk/lib*.a"
@ -39,6 +39,7 @@ do_configure() {
sed -i -e 's/^GST_PACKAGE = .*$/GST_PACKAGE = XZIP="$(XZIP)" gst-package $(GST_OPTS)/' ${S}/Makefile.am
sed -i -e 's/"$(abs_top_builddir)\/gst$(EXEEXT)"/gst/' ${S}/Makefile.am
autotools_do_configure
rm -f ${S}/libc.la
}
do_configure_virtclass-native() {