summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Woestenberg <leon@sidebranch.com>2009-08-02 00:56:15 +0200
committerLeon Woestenberg <leon@sidebranch.com>2009-08-02 00:56:15 +0200
commit309ba5df8fbd6a87e1265cbc7031d99a0b1d0c34 (patch)
tree283bf944253021293b1cf6bf331fd170e9f021a5
parent9c637acc4db71856ff35283243684f7fe7236473 (diff)
libmrss: Use .inc and INC_PR.
-rw-r--r--conf/checksums.ini2
-rw-r--r--recipes/libmrss/libmrss.inc15
-rw-r--r--recipes/libmrss/libmrss_0.17.2.bb15
3 files changed, 18 insertions, 14 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index de8850a80b..1d25b52c93 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -14074,7 +14074,7 @@ sha256=4bd54929a80850754f27b568d7891e1e3e1b8d2f208d371f27d1fda09e6f12a8
md5=dfbe478c4d4e9bf8e450c7349e104e2a
sha256=f7e11c6137a1628d63985799ebcb78577832fca3ca4aeb2fc53d0e667cf699c0
-[http://www2.autistici.org/bakunin/libmrss/libmrss-0.17.2.tar.gz]
+[http://www.autistici.org/bakunin/libmrss/libmrss-0.17.2.tar.gz]
md5=54935c6cff42df2f1daada267b701392
sha256=18f0e2df191219c29b47dc12b4b06b5be7eaeef34b3436156547e5a9f4eb51c1
diff --git a/recipes/libmrss/libmrss.inc b/recipes/libmrss/libmrss.inc
new file mode 100644
index 0000000000..1649d776b5
--- /dev/null
+++ b/recipes/libmrss/libmrss.inc
@@ -0,0 +1,15 @@
+DESCRIPTION = "mRSS is a C library for parsing, writing and creating RSS (0.91, 0.92, 1.0, 2.0) files or streams"
+LICENSE = "LGPL"
+HOMEPAGE = "http://www.autistici.org/bakunin/libmrss/"
+
+DEPENDS = "libnxml curl"
+INC_PR = "r1"
+
+inherit autotools pkgconfig
+
+SRC_URI = "http://www.autistici.org/bakunin/libmrss/libmrss-${PV}.tar.gz \
+ file://better-parse-url-r0.patch;patch=1 "
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/recipes/libmrss/libmrss_0.17.2.bb b/recipes/libmrss/libmrss_0.17.2.bb
index f536468479..2b6a7d6dbf 100644
--- a/recipes/libmrss/libmrss_0.17.2.bb
+++ b/recipes/libmrss/libmrss_0.17.2.bb
@@ -1,15 +1,4 @@
-DESCRIPTION = "mRSS is a C library for parsing, writing and creating RSS (0.91, 0.92, 1.0, 2.0) files or streams"
-LICENSE = "LGPL"
-HOMEPAGE = "http://www2.autistici.org/bakunin/codes.php"
+require libmrss.inc
-DEPENDS = "libnxml curl"
-PR = "r1"
+PR = "${INC_PR}.1"
-inherit autotools pkgconfig
-
-SRC_URI = "http://www2.autistici.org/bakunin/libmrss/libmrss-${PV}.tar.gz \
- file://better-parse-url-r0.patch;patch=1 "
-
-do_stage() {
- autotools_stage_all
-}