summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/createrepo/createrepo/fix-native-install.patch123
-rw-r--r--meta/recipes-support/createrepo/createrepo_0.4.11.bb20
2 files changed, 143 insertions, 0 deletions
diff --git a/meta/recipes-support/createrepo/createrepo/fix-native-install.patch b/meta/recipes-support/createrepo/createrepo/fix-native-install.patch
new file mode 100644
index 0000000000..f17d224d1f
--- /dev/null
+++ b/meta/recipes-support/createrepo/createrepo/fix-native-install.patch
@@ -0,0 +1,123 @@
1diff --git a/Makefile b/Makefile
2index b2d1a32..3c3639f 100644
3--- a/Makefile
4+++ b/Makefile
5@@ -3,22 +3,22 @@ VERSION = 0.4.11
6 SHELL = /bin/sh
7 top_srcdir = .
8 srcdir = .
9-prefix = /usr
10-exec_prefix = ${prefix}
11-
12-bindir = ${exec_prefix}/bin
13-sbindir = ${exec_prefix}/sbin
14-libexecdir = ${exec_prefix}/libexec
15-datadir = ${prefix}/share
16-sysconfdir = ${prefix}/etc
17-sharedstatedir = ${prefix}/com
18-localstatedir = ${prefix}/var
19-libdir = ${exec_prefix}/lib
20-infodir = ${prefix}/info
21+prefix ?= /usr
22+exec_prefix ?= ${prefix}
23+
24+bindir ?= ${exec_prefix}/bin
25+sbindir ?= ${exec_prefix}/sbin
26+libexecdir ?= ${exec_prefix}/libexec
27+datadir ?= ${prefix}/share
28+sysconfdir ?= ${prefix}/etc
29+sharedstatedir ?= ${prefix}/com
30+localstatedir ?= ${prefix}/var
31+libdir ?= ${exec_prefix}/lib
32+infodir ?= ${prefix}/info
33 docdir =
34-includedir = ${prefix}/include
35+includedir ?= ${prefix}/include
36 oldincludedir = /usr/include
37-mandir = ${prefix}/share/man
38+mandir ?= ${prefix}/share/man
39
40 pkgdatadir = $(datadir)/$(PACKAGE)
41 pkglibdir = $(libdir)/$(PACKAGE)
42diff --git a/bin/Makefile b/bin/Makefile
43index 52c1f50..abef96a 100644
44--- a/bin/Makefile
45+++ b/bin/Makefile
46@@ -1,22 +1,22 @@
47 SHELL = /bin/sh
48 top_srcdir = ..
49 srcdir = ../bin
50-prefix = /usr
51-exec_prefix = ${prefix}
52-
53-bindir = ${exec_prefix}/bin
54-sbindir = ${exec_prefix}/sbin
55-libexecdir = ${exec_prefix}/libexec
56-datadir = ${prefix}/share
57-sysconfdir = ${prefix}/etc
58-sharedstatedir = ${prefix}/com
59-localstatedir = ${prefix}/var
60-libdir = ${exec_prefix}/lib
61-infodir = ${prefix}/info
62+prefix ?= /usr
63+exec_prefix ?= ${prefix}
64+
65+bindir ?= ${exec_prefix}/bin
66+sbindir ?= ${exec_prefix}/sbin
67+libexecdir ?= ${exec_prefix}/libexec
68+datadir ?= ${prefix}/share
69+sysconfdir ?= ${prefix}/etc
70+sharedstatedir ?= ${prefix}/com
71+localstatedir ?= ${prefix}/var
72+libdir ?= ${exec_prefix}/lib
73+infodir ?= ${prefix}/info
74 docdir =
75-includedir = ${prefix}/include
76+includedir ?= ${prefix}/include
77 oldincludedir = /usr/include
78-mandir = ${prefix}/man
79+mandir ?= ${prefix}/man
80
81 pkgdatadir = $(datadir)/$(PACKAGE)
82 pkglibdir = $(libdir)/$(PACKAGE)
83diff --git a/docs/Makefile b/docs/Makefile
84index 0a41179..e128c85 100644
85--- a/docs/Makefile
86+++ b/docs/Makefile
87@@ -1,22 +1,22 @@
88 SHELL = /bin/sh
89 top_srcdir = ..
90 srcdir = ../docs
91-prefix = /usr
92-exec_prefix = ${prefix}
93-
94-bindir = ${exec_prefix}/bin
95-sbindir = ${exec_prefix}/sbin
96-libexecdir = ${exec_prefix}/libexec
97-datadir = ${prefix}/share
98-sysconfdir = ${prefix}/etc
99-sharedstatedir = ${prefix}/com
100-localstatedir = ${prefix}/var
101-libdir = ${exec_prefix}/lib
102-infodir = ${prefix}/info
103+prefix ?= /usr
104+exec_prefix ?= ${prefix}
105+
106+bindir ?= ${exec_prefix}/bin
107+sbindir ?= ${exec_prefix}/sbin
108+libexecdir ?= ${exec_prefix}/libexec
109+datadir ?= ${prefix}/share
110+sysconfdir ?= ${prefix}/etc
111+sharedstatedir ?= ${prefix}/com
112+localstatedir ?= ${prefix}/var
113+libdir ?= ${exec_prefix}/lib
114+infodir ?= ${prefix}/info
115 docdir =
116-includedir = ${prefix}/include
117+includedir ?= ${prefix}/include
118 oldincludedir = /usr/include
119-mandir = ${datadir}/man
120+mandir ?= ${datadir}/man
121
122 pkgdatadir = $(datadir)/$(PACKAGE)
123 pkglibdir = $(libdir)/$(PACKAGE)
diff --git a/meta/recipes-support/createrepo/createrepo_0.4.11.bb b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
new file mode 100644
index 0000000000..62cf778706
--- /dev/null
+++ b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
@@ -0,0 +1,20 @@
1DESCRIPTION = "createrepo creates rpm-metadata for rpms to build the repository"
2HOMEPAGE = "http://createrepo.baseurl.org/"
3
4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
6
7PR = "r0"
8
9SRC_URI= "http://createrepo.baseurl.org/download/${BP}.tar.gz \
10 file://fix-native-install.patch \
11 "
12
13SRC_URI[md5sum] = "3e9ccf4abcffe3f49af078c83611eda2"
14SRC_URI[sha256sum] = "a73ae11a0dcde8bde36d900bc3f7f8f1083ba752c70a5c61b72d1e1e7608f21b"
15
16BBCLASSEXTEND = "native"
17
18do_install () {
19 oe_runmake -e 'DESTDIR=${D}' install
20}