spandsp: cleanup recipes, unify
authorJunqian Gordon Xu <xjqian@gmail.com>
Fri, 18 Apr 2008 05:57:24 +0000 (05:57 +0000)
committerJunqian Gordon Xu <xjqian@gmail.com>
Fri, 18 Apr 2008 05:57:24 +0000 (05:57 +0000)
* use DEFAULT_PREFERENCE instead of awkward recipes names
* drop unbuidable 0.0.3pre27

packages/spandsp/spandsp.inc [moved from packages/spandsp/spandsp_0.0.2+0.0.3pre27.bb with 53% similarity]
packages/spandsp/spandsp_0.0.3+0.0.4pre16.bb [deleted file]
packages/spandsp/spandsp_0.0.3.bb
packages/spandsp/spandsp_0.0.4-pre16.bb [new file with mode: 0644]

similarity index 53%
rename from packages/spandsp/spandsp_0.0.2+0.0.3pre27.bb
rename to packages/spandsp/spandsp.inc
index 2c0ffa0..9f4e5e5 100644 (file)
@@ -1,17 +1,13 @@
 DESCRIPTION = "A library of many DSP functions for telephony."
 HOMEPAGE = "http://www.soft-switch.org"
-DEPENDS = "tiff libxml2"
 SECTION = "voip"
 LICENSE = "GPL"
-PR = "r0"
-
-SRC_URI = "http://www.soft-switch.org/downloads/snapshots/spandsp/spandsp-20070123.tar.gz"
-S = "${WORKDIR}/${PN}-0.0.3"
+DEPENDS = "tiff libxml2"
 
 inherit autotools
 
-PARALLEL_MAKE = ""
+do_stage () {
+    autotools_stage_all
+}
 
-do_stage () { 
-    autotools_stage_all 
-}
\ No newline at end of file
+PARALLEL_MAKE = ""
diff --git a/packages/spandsp/spandsp_0.0.3+0.0.4pre16.bb b/packages/spandsp/spandsp_0.0.3+0.0.4pre16.bb
deleted file mode 100644 (file)
index bbb1c0c..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-DESCRIPTION = "A library of many DSP functions for telephony."
-HOMEPAGE = "http://www.soft-switch.org"
-DEPENDS = "tiff libxml2"
-SECTION = "voip"
-LICENSE = "GPL"
-
-PR = "r0"
-
-SRC_URI = "http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.4pre16.tgz"
-
-S = "${WORKDIR}/spandsp-0.0.4"
-
-inherit autotools pkgconfig
-
-PARALLEL_MAKE = ""
-
-# *cough*
-do_configure_append() {
-       rm config.log
-}
-
-do_stage () { 
-    autotools_stage_all 
-}
index ec5b6aa..2dc402f 100644 (file)
@@ -1,21 +1,10 @@
-DESCRIPTION = "A library of many DSP functions for telephony."
-HOMEPAGE = "http://www.soft-switch.org"
-SECTION = "voip"
-LICENSE = "GPL"
-DEPENDS = "tiff libxml2"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://www.soft-switch.org/downloads/spandsp/spandsp-${PV}.tgz"
 
-inherit autotools
-
-PARALLEL_MAKE = ""
-
 # *cough*
 do_configure_append() {
         rm config.log
 }
 
-do_stage () { 
-    autotools_stage_all 
-}
+require spandsp.inc
diff --git a/packages/spandsp/spandsp_0.0.4-pre16.bb b/packages/spandsp/spandsp_0.0.4-pre16.bb
new file mode 100644 (file)
index 0000000..d1e717e
--- /dev/null
@@ -0,0 +1,14 @@
+PR = "r1"
+
+SRC_URI = "http://www.soft-switch.org/downloads/spandsp/${PN}-0.0.4pre16.tgz"
+
+S = "${WORKDIR}/spandsp-0.0.4"
+
+# *cough*
+do_configure_append() {
+      rm config.log
+}
+
+require spandsp.inc
+
+DEFAULT_PREFERENCE = "-16"