diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-02-06 17:43:53 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-02-06 17:43:53 +0800 |
commit | f8b0394e7d598df08de50a292ef9242f49f2741b (patch) | |
tree | d78551f57cbc4df255d7491ca8c7830b6936d48d | |
parent | 79e007d509f0813b6e1fdf24a1bb374a459aa03d (diff) | |
download | meta-selinux-f8b0394e7d598df08de50a292ef9242f49f2741b.tar.gz |
selinux: Add git inc file for selinux bb recipes.
-rw-r--r-- | recipes-security/selinux/selinux_git.inc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-security/selinux/selinux_git.inc b/recipes-security/selinux/selinux_git.inc new file mode 100644 index 0000000..233b5ba --- /dev/null +++ b/recipes-security/selinux/selinux_git.inc | |||
@@ -0,0 +1,20 @@ | |||
1 | HOMEPAGE = "http://userspace.selinuxproject.org" | ||
2 | |||
3 | SRC_URI = "git://oss.tresys.com/git/selinux.git;protocol=http" | ||
4 | SRC_URI[md5sum] = "4ec64a0d24aaa77c80b86e74d271e464" | ||
5 | SRC_URI[sha256sum] = "9c8a8643c9a4dd0eb76fcda1420d636b750b84b27656c6f8bc6886a829d7e520" | ||
6 | |||
7 | do_compile() { | ||
8 | oe_runmake all \ | ||
9 | INCLUDEDIR='${STAGING_INCDIR}' \ | ||
10 | LIBDIR='${STAGING_LIBDIR}' | ||
11 | } | ||
12 | |||
13 | do_install() { | ||
14 | oe_runmake install \ | ||
15 | DESTDIR="${D}" \ | ||
16 | PREFIX="${D}/${prefix}" \ | ||
17 | INCLUDEDIR="${D}/${includedir}" \ | ||
18 | LIBDIR="${D}/${libdir}" \ | ||
19 | SHLIBDIR="${D}/${base_libdir}" | ||
20 | } | ||