[oe-commits] org.oe.dev sword and python-sword: upgrade to 1.5.9.

mreimer commit openembedded-commits at lists.openembedded.org
Tue Nov 14 23:14:04 UTC 2006


sword and python-sword: upgrade to 1.5.9.

Author: mreimer at openembedded.org
Branch: org.openembedded.dev
Revision: f1ff998614be8911a2a9c02be7779e97ebe5c292
ViewMTN: http://monotone.openembedded.org/revision.psp?id=f1ff998614be8911a2a9c02be7779e97ebe5c292
Files:
1
packages/python/python-sword_1.5.9.bb
packages/sword/sword_1.5.9.bb
Diffs:

#
# mt diff -r760f63fd8abcb2c437504456c4a215d2a01fae0f -rf1ff998614be8911a2a9c02be7779e97ebe5c292
#
# 
# 
# add_file "packages/python/python-sword_1.5.9.bb"
#  content [98e0e8ef77a009950b8d4df85192b6a5750f8ea8]
# 
# add_file "packages/sword/sword_1.5.9.bb"
#  content [2ddc099635b4c4428882874c590a47b99609c834]
# 
============================================================
--- packages/python/python-sword_1.5.9.bb	98e0e8ef77a009950b8d4df85192b6a5750f8ea8
+++ packages/python/python-sword_1.5.9.bb	98e0e8ef77a009950b8d4df85192b6a5750f8ea8
@@ -0,0 +1,31 @@
+DESCRIPTION = "Python bindings for the sword library"
+SECTION = "devel/python"
+PRIORITY = "optional"
+LICENSE = "GPL"
+RDEPENDS = "python-core sword"
+DEPENDS = "sword-${PV} swig-native"
+SRCNAME = "sword"
+PR = "r0"
+
+SRC_URI = "http://crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-${PV}.tar.gz"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}/bindings/swig/package"
+
+EXTRA_OECONF = "--with-sword-dir=${STAGING_DIR}/${HOST_SYS}"
+
+inherit distutils autotools
+
+PARALLEL_MAKE = ""
+
+#do_configure_prepend() {
+#	./autogen.sh
+#}
+
+do_compile() {
+        oe_runmake BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} pythonswig python_make
+}
+
+do_install() {
+	cd ${S}/python
+	distutils_do_install
+}
============================================================
--- packages/sword/sword_1.5.9.bb	2ddc099635b4c4428882874c590a47b99609c834
+++ packages/sword/sword_1.5.9.bb	2ddc099635b4c4428882874c590a47b99609c834
@@ -0,0 +1,27 @@
+DESCRIPTION = "The SWORD Project is an open source, cross-platform \
+(Linux, Windows, Solaris, MacOSX etc.) API and library for \
+Bible software with a constantly growing list of front-ends \
+(GUI, textmode, web-based, etc.) and a library of over 200 text modules"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI = "http://www.crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--without-clucene --without-curl"
+
+do_stage() {
+	oe_libinstall -so -C lib libsword ${STAGING_LIBDIR}
+
+	install -d ${STAGING_INCDIR}/sword/
+	for f in include/*.h
+	do
+		install -m 0644 $f ${STAGING_INCDIR}/sword/
+	done
+
+}
+
+FILES_${PN} = "${libdir}/libsword*so ${sysconfdir} ${bindir} ${datadir}"






More information about the Openembedded-commits mailing list