summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorNoor Ahsan <noor_ahsan@mentor.com>2010-08-17 03:18:25 +0000
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-08-19 22:46:54 +0200
commit8697a82eae014570508f08b8486c5a94d2facbce (patch)
tree64b6df3d15f92d4bec1b744d5ed9c49170afe855 /recipes
parent3112262e6a03f9a6f432aa8766e0fd000123a746 (diff)
rpm2cpio-native: Run oe-stylize.py
* Run oe-stylize.py script on recipe and modified the recipe according to the output of oe-stylize.py. Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/rpm2cpio/rpm2cpio-native_1.2_2.bb29
1 files changed, 13 insertions, 16 deletions
diff --git a/recipes/rpm2cpio/rpm2cpio-native_1.2_2.bb b/recipes/rpm2cpio/rpm2cpio-native_1.2_2.bb
index 151753d712..252fd538d5 100644
--- a/recipes/rpm2cpio/rpm2cpio-native_1.2_2.bb
+++ b/recipes/rpm2cpio/rpm2cpio-native_1.2_2.bb
@@ -1,28 +1,25 @@
# rpm2cpio-native build file
# Copyright (C) 2005, Advanced Micro Devices, Inc. All Rights Reserved
# Released under the MIT license (see COPYING.MIT)
+LICENSE = "BSD"
+DEPENDS = "perl-native"
-DEPENDS="perl-native"
-LICENSE="BSD"
-SRC_URI="http://www.freebsd.org/cgi/cvsweb.cgi/%7Echeckout%7E/ports/archivers/rpm2cpio/files/rpm2cpio?rev=1.2"
+SRC_URI = "http://www.freebsd.org/cgi/cvsweb.cgi/%7Echeckout%7E/ports/archivers/rpm2cpio/files/rpm2cpio?rev=1.2"
+SRC_URI[md5sum] = "07f64fa3dae6eb8b1b578d01473a5c07"
+SRC_URI[sha256sum] = "a98cb1d9903192c4fcf40d82c705e091a5c193f87327703217749a5f4cc6197d"
-inherit native
+S = "${WORKDIR}"
-S="${WORKDIR}"
+inherit native
do_compile() {
}
-
do_stage() {
- install -d ${STAGING_BINDIR}
- sed -e '1,1s|${bindir}/|${bindir}/env |' "rpm2cpio?rev=1.2" \
- > ${STAGING_BINDIR}/rpm2cpio.pl
-
- my_PERL="/usr/bin/env perl"
- sed -e "s%/[a-zA-Z0-9/]*/bin/perl%$my_PERL%g" -i ${STAGING_BINDIR}/rpm2cpio.pl
-
- chmod 0755 ${STAGING_BINDIR}/rpm2cpio.pl
+ install -d ${STAGING_BINDIR}
+ sed -e '1,1s|${bindir}/|${bindir}/env |' "rpm2cpio?rev=1.2" \
+ > ${STAGING_BINDIR}/rpm2cpio.pl
+ my_PERL="/usr/bin/env perl"
+ sed -e "s%/[a-zA-Z0-9/]*/bin/perl%$my_PERL%g" -i ${STAGING_BINDIR}/rpm2cpio.pl
+ chmod 0755 ${STAGING_BINDIR}/rpm2cpio.pl
}
-SRC_URI[md5sum] = "07f64fa3dae6eb8b1b578d01473a5c07"
-SRC_URI[sha256sum] = "a98cb1d9903192c4fcf40d82c705e091a5c193f87327703217749a5f4cc6197d"