sword: inherit lib_package
authorMichael Lauer <mickey@vanille-media.de>
Thu, 16 Aug 2007 10:45:16 +0000 (10:45 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Thu, 16 Aug 2007 10:45:16 +0000 (10:45 +0000)
packages/sword/sword_1.5.7.bb [deleted file]
packages/sword/sword_1.5.8.bb [deleted file]
packages/sword/sword_1.5.9.bb

diff --git a/packages/sword/sword_1.5.7.bb b/packages/sword/sword_1.5.7.bb
deleted file mode 100644 (file)
index e20dadc..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-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 = "r5"
-
-SRC_URI = "http://www.crosswire.org/~dglassey/sword-1.5.7a.tar.gz"
-
-inherit autotools
-
-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
-
-}
diff --git a/packages/sword/sword_1.5.8.bb b/packages/sword/sword_1.5.8.bb
deleted file mode 100644 (file)
index b16e1fb..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-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 = "r2"
-
-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}"
index 2c180ac..303d7f9 100644 (file)
@@ -3,26 +3,18 @@ DESCRIPTION = "The SWORD Project is an open source, cross-platform \
 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"
+HOMEPAGE = "http://www.e-sword.net/"
 PRIORITY = "optional"
 LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://www.crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-${PV}.tar.gz \
-       file://gcc-visibility.patch;patch=1"
+           file://gcc-visibility.patch;patch=1"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig lib_package
 
 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
-
+       autotools_stage_all
 }
-
-FILES_${PN} = "${libdir}/libsword*so ${sysconfdir} ${bindir} ${datadir}"