libmrss: Use .inc and INC_PR.
authorLeon Woestenberg <leon@sidebranch.com>
Sat, 1 Aug 2009 22:56:15 +0000 (00:56 +0200)
committerLeon Woestenberg <leon@sidebranch.com>
Sat, 1 Aug 2009 22:56:15 +0000 (00:56 +0200)
conf/checksums.ini
recipes/libmrss/libmrss.inc [new file with mode: 0644]
recipes/libmrss/libmrss_0.17.2.bb

index de8850a..1d25b52 100644 (file)
@@ -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 (file)
index 0000000..1649d77
--- /dev/null
@@ -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
+}
index f536468..2b6a7d6 100644 (file)
@@ -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
-}